Creative Studio
How do I do it?

How to Create a Database (MySQL) and Make Connection Settings?

How to Create a Database (MySQL) and Make Connection Settings?

MySQL Database Creation Guide

Learn the 3 basic steps needed to run your scripts.

The place where the data on your website (posts, members, settings) is stored is MySQL Database. Creating the database information requested when installing a script is actually very simple.

01. STEP

Create Database

Enter cPanel and click on the "MySQL® Databases" icon. Write a name in the "New Database" section (Ex: site_db) and create it.

02. STEP

Set User and Password

On the same page, scroll down and create a username and a strong password from the "Add New User" section. Make a note of this password!

03. STEP

Assign User to Database

Select the user and database you created from the "Add User To Database" section and press the "Add" button. On the screen that opens, check the "ALL PRIVILEGES" box.

💡 Connection Setting (Config): In the settings file of your script (usually config.php) "localhost" is often written in the DB_HOST section. The database name and username are the full name you created in the panel (Ex: username_database).

Do everything right and database connection errors will be history!

İlginizi Çekebilir

Size nasıl yardımcı olabiliriz?
ZerX
ZerX AI Çevrimiçi
Merhaba! Ben ZerX
Zertucha laboratuvarından geliyorum. Size nasıl yardımcı olabilirim?

Sohbeti Temizle

Tüm konuşma geçmişiniz kalıcı olarak silinecektir. Emin misiniz?

AI
ZerX