cPanel tutorial three: Create a MYSQL database user and set user permissions

888u

Last update at :2024-06-16,Edit by888u

In the previous article of adding a site, we can already bind our own domain name to the host of the cPanel panel. However, for general websites, we choose to build them with php+mysql database scripts, so we definitely need to build a MYSQL database. Only users can. Unlike the ACCESS database, which can be used directly by throwing it into the WIN machine, this is also the part that many novices find difficult to accept when using PHP programs, including the ASP program that Snail has been exposed to before, and did not use PHP until a long time later. In fact, after using it, I found that although ASP is simple, PHP has more uses and more choices.

The first step, before we create the MYSQL database, we need to log in to the cPanel panel and find \\"Mysql database\\".

The second step is to add the database name.

The third step is to add the database user name.

Finally, authorize.

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

In this way we can install the program with the set database, user name and password. Generally, the commonly used bluehost, justhost, and hostmonster hosts can establish databases in this way.

Recommended site search: How long does it take for website registration to be free server, IP view, dynamic mainland China IP proxy, European server, US server website, proxy service IP, Dongguan hosting, Hong Kong server rental, ICP website registration,

cPanel tutorial three: Create a MYSQL database user and set user permissions

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码