Android News App
  • Welcome
  • Android Studio
    • Getting Started
    • Import Project
    • Generate google-services.json
    • Push Notification
    • Package Name
    • Server Connection
    • Ad Network
    • Legacy GDPR
    • Funding Choices
    • App Configuration
    • Get YouTube API Key
    • Change App Logo
    • Change App Color
    • Text Assets
    • Image Assets
    • App Font
  • Admin Panel
    • Getting Started
    • Database Configuration
    • Related Video Tutorial
    • SMTP Config
    • Change Color
    • Change Text
  • Publish the App
    • Release Version
    • Generate Signed Bundle / APK
  • Migrate from Older Version
    • v4.2.1 to v4.3.0
    • v4.2.0 to v4.2.1
    • v4.0.0 to v4.2.0
    • v3.4.x to v4.0.0
  • Rating and Support
  • Changelog
  • FAQ
Powered by GitBook
On this page
  • Create Database
  • Import Database
  • Upload PHP Scripts
  • Database Connection
  • Default Admin Panel Login detail

Was this helpful?

  1. Admin Panel

Database Configuration

PreviousGetting StartedNextRelated Video Tutorial

Last updated 3 years ago

Was this helpful?

Create Database

  • Login to your cpanel hosting and open MySQL Databases

  • Create database and give database name like you want, as example : ‘solodroid_myapp_db’

  • Create user for your database

  • Add user to your database and check ALL PRIVILEGES

Import Database

  • Open phpMyAdmin and select your database

  • Import database file “ android_news_app_db.sql” from download package inside ‘admin_panel‘ folder

Upload PHP Scripts

  • Open File Manager via cpanel or ftp server

  • Upload “android_news_app.zip” inside “admin_panel” folder to your folder destination on your hosting, then extract it

Database Connection

  • to change configuration please see includes/config.php file

  • you must edit this data with your own data.

config.php
//database configuration
$host       = "localhost";
$user       = "root";
$pass       = "";
$database   = "android_news_app_db";

$connect = new mysqli($host, $user, $pass, $database);

if (!$connect) {
   die ("connection failed: " . mysqli_connect_error());
} else {
   $connect->set_charset('utf8mb4');
}

Default Admin Panel Login detail

Username : admin Password : admin