Focus on cloud service provider activities
Notes on website operation and maintenance

CPanel Tutorial 3: Creating a MYSQL Database User Setting User Permissions

In the previous article Add site We can already bind our own domain name to the host of the cPanel, but we usually choose php+mysql database script to build general websites, so we must create a MYSQL database Only users can. Unlike the ACCESS database, which can be used directly on the WIN machine, this is also an unacceptable part for many novices to use PHP programs, including the ASP program that Lao Zuo has been exposed to before, but he only used PHP a long time later. In fact, after using it, we found that although asp is simple, there are still more uses and options for PHP.

The first step is to log in to the cPanel panel and find "MySQL Database" before we establish the MYSQL database.

 cp-3-1

Step 2: Add the database name.

 cp-3-2

Step 3: Add the database user name.

 cp-3-3

Finally, authorize.

 cp-3-4

Find "Add user to database" under the same page, and select the database name and user name we just added. Then add.

 cp-3-5

In this way, we can take the set database, user name and password to install the program. Generally, our common bluehost, justhost, and hostmaster hosts can establish databases in this way.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » CPanel Tutorial 3: Creating a MYSQL Database User Setting User Permissions


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge