The City Docs
7.4
7.4
  • Welcome
  • ADMIN PANEL
    • Import Project
    • Structure
    • Notification
    • MySQL Database
    • Add New Category
    • News Info
    • Custom Color
    • Change Log
  • ANDROID
    • Getting Started
      • Installation
      • Import Project
    • Structure
    • Package Name ( app id )
    • Firebase [must]
    • REST API
      • Configure API Url
      • Validate Your Web
    • Category
      • Integration
      • Add New
    • Remote Config
    • Ad Networks
    • Maps Configuration
    • Sort By Distance
    • Lazy Load
    • SQLite Database
    • Custom Color
    • Change Log
  • License
Powered by GitBook
On this page
  1. ADMIN PANEL

MySQL Database

PreviousNotificationNextAdd New Category

to change database configuration please see api.php file, you must edit this data with yours.

 const DB_SERVER   = "localhost";
 const DB_USER     = "your_database_user";
 const DB_PASSWORD = "your_database_user_password";
 const DB          = "your_database_name";

We also include the dummy database file at backend folder, Step to import database

Step to import database : 1. create new database with any name, in cpanel its located at menu MySQL database 2. create/reuse user database and remember its password 3. connect user database with your database from number 1 4. Go to menu phpMyAdmin, import database_the_city.sql into created database number 1 5. still on The City database go to menu Operations, change Collation to utf8mb4_unicode_ci and press GO

For first login you can login with username : user_place, password : user