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](https://images.laozuo.org/wp-content/uploads/2013/04/cp-3-1.gif)
Step 2: Add the database name.
![cp-3-2](https://images.laozuo.org/wp-content/uploads/2013/04/cp-3-2.gif)
Step 3: Add the database user name.
![cp-3-3](https://images.laozuo.org/wp-content/uploads/2013/04/cp-3-3.gif)
Finally, authorize.
![cp-3-4](https://images.laozuo.org/wp-content/uploads/2013/04/cp-3-4.gif)
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](https://images.laozuo.org/wp-content/uploads/2013/04/cp-3-5.gif)
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.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge