Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
.trash /
public /
Delete
Unzip
Name
Size
Permission
Date
Action
data
[ DIR ]
drwxr-xr-x
2025-09-15 23:22
uploads
[ DIR ]
drwxr-xr-x
2025-09-15 18:00
COMPLETE_SETUP_GUIDE.md
5.02
KB
-rw-r--r--
2025-09-15 23:45
DATABASE_SETUP.md
2.84
KB
-rw-r--r--
2025-09-15 23:41
FIX_ACCESS_DENIED.md
2.36
KB
-rw-r--r--
2025-09-16 00:07
MIGRATION_SUMMARY.md
4.28
KB
-rw-r--r--
2025-09-15 23:45
NEXT_STEPS.md
2.18
KB
-rw-r--r--
2025-09-15 23:45
PHPMYADMIN_SETUP_GUIDE.md
3.61
KB
-rw-r--r--
2025-09-15 23:43
QUICK_FIX_INSTRUCTIONS.md
1.99
KB
-rw-r--r--
2025-09-16 00:09
admin-dashboard.html
25.26
KB
-rw-r--r--
2025-09-15 17:29
admin-login.html
5.25
KB
-rw-r--r--
2025-09-15 02:24
admin-profile.html
24.21
KB
-rw-r--r--
2025-09-15 17:43
analytics.html
25.08
KB
-rw-r--r--
2025-09-15 16:13
check_mysql.php
1.33
KB
-rw-r--r--
2025-09-15 23:44
cleanup_duplicates.php
1.46
KB
-rw-r--r--
2025-09-15 23:08
complete_workflow_test.php
4.46
KB
-rw-r--r--
2025-09-15 23:22
create_test_user.php
1.15
KB
-rw-r--r--
2025-09-15 23:20
database.php
4.29
KB
-rw-r--r--
2025-09-15 23:43
database_mysql.php
9.98
KB
-rw-r--r--
2025-09-16 00:08
db_config.php
587
B
-rw-r--r--
2025-09-16 00:07
demo-enhanced.html
45.46
KB
-rw-r--r--
2025-09-15 01:43
deposit.html
10.83
KB
-rw-r--r--
2025-09-15 17:08
error_log
825
B
-rw-r--r--
2025-10-04 15:48
fastearnads.sql
6.12
KB
-rw-r--r--
2025-09-15 23:39
fastearnads_tables_only.sql
5.96
KB
-rw-r--r--
2025-09-16 00:07
final_test.php
4.73
KB
-rw-r--r--
2025-09-15 23:29
import_database.bat
1.03
KB
-rw-r--r--
2025-09-15 23:45
index.php
50.11
KB
-rw-r--r--
2025-09-15 23:40
manage-ads.html
25.39
KB
-rw-r--r--
2025-09-15 16:12
manage-users.html
42.4
KB
-rw-r--r--
2025-09-15 16:54
manage-withdraws.html
49.19
KB
-rw-r--r--
2025-09-15 15:54
migrate_data.php
1.6
KB
-rw-r--r--
2025-09-15 23:40
simple-login.html
1.19
KB
-rw-r--r--
2025-09-15 02:08
start_mysql.bat
948
B
-rw-r--r--
2025-09-15 23:45
test_admin_approval.php
3.55
KB
-rw-r--r--
2025-09-15 23:21
test_connection_with_user.php
1.9
KB
-rw-r--r--
2025-09-15 19:19
test_db_connection.php
1.54
KB
-rw-r--r--
2025-09-15 23:41
test_deposit_fix.php
2.88
KB
-rw-r--r--
2025-09-15 23:09
test_frontend.html
3.49
KB
-rw-r--r--
2025-09-15 23:22
test_user_activity_history.php
2.96
KB
-rw-r--r--
2025-09-15 23:21
user-ads.html
18.36
KB
-rw-r--r--
2025-09-15 14:39
user-dashboard.html
47.77
KB
-rw-r--r--
2025-09-15 23:26
user-login.html
5.78
KB
-rw-r--r--
2025-09-15 02:27
user-profile.html
33.93
KB
-rw-r--r--
2025-09-15 18:33
user-register.html
7.56
KB
-rw-r--r--
2025-09-15 02:27
user-transactions.html
31.83
KB
-rw-r--r--
2025-09-15 22:58
user-withdraw.html
29.48
KB
-rw-r--r--
2025-09-15 21:52
user-withdrawals.html
29.17
KB
-rw-r--r--
2025-09-15 21:51
waiting-approval.html
5.46
KB
-rw-r--r--
2025-09-15 03:23
Save
Rename
# Complete FastEarnAds Setup Guide with MySQL This guide will help you set up FastEarnAds with MySQL database on Windows. ## Prerequisites 1. PHP installed (you already have this working) 2. MySQL server (needs to be installed and running) 3. phpMyAdmin (optional but recommended for database management) ## Part 1: Install MySQL Server ### Option 1: Install MySQL using MySQL Installer (Recommended) 1. Download MySQL Installer from the official MySQL website: - Go to https://dev.mysql.com/downloads/installer/ - Download the MySQL Installer for Windows 2. Run the installer: - Choose "Developer Default" setup type - Follow the installation wizard - When prompted, set a root password (or leave it blank for default setup) - Complete the installation ### Option 2: Install XAMPP (Includes MySQL, PHP, Apache) 1. Download XAMPP from https://www.apachefriends.org/index.html 2. Run the installer 3. Start XAMPP Control Panel 4. Start Apache and MySQL services ## Part 2: Start MySQL Service ### Method 1: Using Services (Windows) 1. Press `Win + R`, type `services.msc`, and press Enter 2. Find MySQL service (might be named "MySQL", "MySQL80", or similar) 3. Right-click on the service and select "Start" 4. To make it start automatically, right-click → Properties → Startup type → Automatic ### Method 2: Using Command Prompt (Administrator) 1. Press `Win + X` and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)" 2. Run one of these commands: ``` net start mysql ``` or ``` net start mysql80 ``` (Replace "mysql80" with your actual MySQL service name) ### Method 3: Using XAMPP 1. Open XAMPP Control Panel 2. Click the "Start" button next to MySQL ## Part 3: Verify MySQL Installation Run this command in Command Prompt: ``` mysql -u root -p ``` If MySQL is running correctly: 1. You'll be prompted for a password (press Enter if no password is set) 2. You'll see the MySQL command prompt: `mysql>` 3. Type `exit` to quit ## Part 4: Set Up FastEarnAds Database ### Step 1: Create Database Using Command Line 1. Open Command Prompt 2. Run: ``` mysql -u root -p ``` 3. In the MySQL prompt, run: ```sql CREATE DATABASE fastearnads CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; ``` 4. Exit MySQL: ```sql exit ``` ### Step 2: Import Database Structure 1. Open Command Prompt 2. Navigate to your FastEarnAds public folder: ``` cd "c:\Users\MANO BILLI\Desktop\FASTEARNADS\public" ``` 3. Import the SQL file: ``` mysql -u root -p fastearnads < fastearnads.sql ``` ## Part 5: Configure Database Connection 1. Open `db_config.php` in your FastEarnAds public folder 2. Update the configuration if needed: ```php define('DB_HOST', 'localhost'); define('DB_NAME', 'fastearnads'); define('DB_USER', 'root'); define('DB_PASS', ''); // Enter password if you set one during MySQL installation ``` ## Part 6: Test Database Connection 1. Open Command Prompt 2. Navigate to your FastEarnAds public folder: ``` cd "c:\Users\MANO BILLI\Desktop\FASTEARNADS\public" ``` 3. Run the test script: ``` php test_db_connection.php ``` You should see: ``` Database configuration loaded successfully. Host: localhost Database: fastearnads User: root Testing MySQL database connection for FastEarnAds... ✓ Database connection successful! Testing basic database operations... ✓ Users table accessible - Found 0 users ✓ Settings table accessible - Found 0 settings ✓ Successfully created test user with ID: xxxxxxxxxx ✓ Cleaned up test user Database setup is working correctly! You can now use MySQL for your FastEarnAds application. ``` ## Part 7: Migrate Existing Data (Optional) If you have existing data in JSON files: 1. Run the migration script: ``` php migrate_data.php ``` ## Troubleshooting ### Common Issues: 1. **Can't connect to MySQL**: - Make sure MySQL service is running - Check if the port is correct (default is 3306) - Verify username and password 2. **Access denied for user 'root'**: - Reset MySQL root password - Or create a new user with proper permissions 3. **Database doesn't exist**: - Make sure you created the database first - Check the database name in `db_config.php` 4. **Import errors**: - Make sure the SQL file is not corrupted - Check that you're importing into the correct database ### Need Help? If you encounter any issues: 1. Run `php check_mysql.php` to verify MySQL status 2. Check Windows Services to ensure MySQL is running 3. Verify your database credentials in `db_config.php` ## Verification After completing the setup: 1. Run `php test_db_connection.php` - should show success 2. Access your FastEarnAds application in the browser 3. Register a new user and make a deposit 4. Check that data is stored in MySQL tables (not JSON files) You're now ready to use FastEarnAds with MySQL database!