🎉 Super Easy Setup Guide

Let’s set up your website like a pro. Simple steps. You got this! 💪

What we will do

Step 1 — Open Namecheap cPanel

1
Go to your Namecheap account and click cPanel.
2
In cPanel, find MySQL® Databases and click it.

Step 2 — Make a Database

1
In Create New Database, type market.
2
Click Create Database.
It will become mindsybq_market. That is perfect! ✅

Step 3 — Make a Database User

1
Scroll to MySQL UsersAdd New User.
2
Username: type something like appuser. It will become mindsybq_appuser.
3
Password: click Generate and copy it to a safe place.
4
Click Create User.

Step 4 — Give the User Access to the Database

1
Find Add User To Database.
2
Choose your user (e.g., mindsybq_appuser) and your database (mindsybq_market).
3
Click Add → choose ALL PRIVILEGESMake Changes.

Step 5 — Put the Tables into the Database

1
Back in cPanel, open phpMyAdmin.
2
Click your database on the left: mindsybq_market.
3
Click Import at the top.
4
Click Choose File and select this file from your project: market/database/schema_main.sql.
5
Click Go. Wait a bit. You should see a green success message.

Step 6 — Tell the App How to Connect

1
Open your file manager (cPanel File Manager) and go to your site folder.
2
Find and edit this file: market/config/database.php.
3
Make sure it looks like this:
Good: DB names and users start with mindsybq_.
Not good: Using root on shared hosting.

Step 7 — Log In to Your App

1
Open your website link (your domain).
2
Use the default admin email: admin@marketingplatform.com.
3
Password is a placeholder. Change it right away inside the app settings.

Fix-It Section (If something goes wrong)

Can’t connect? Check these:

You did it! 🥳

Your website should now talk to the database and be ready to go.