简体   繁体   中英

Where can I locate exact credentials for MySQL Database PHP connection in PHPMyAdmin?

Where can I find the exact credentials to input into my PHP script to connect to a MySQL database. If applicable, where is this information in the latest cPanel or recent PHPMyAdmin.

  1. In the cPanel go to MySQL Databases section.
  2. And then scroll down to the Add New User Section and add a new user.
  3. Then scroll down to the Add User To the Database section and add your created user to the Database.
  4. Give the user all the privileges that you want it to have.
  5. Enjoy!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM