Home >Database >Mysql Tutorial >How to set mysql database password in xammp?

How to set mysql database password in xammp?

黄舟
黄舟Original
2017-08-08 15:16:542169browse

XAMPP (Apache+MySQL+PHP+PERL) is a powerful website-building integrated software package that can easily build a PHP development environment locally. The default password for mysql after installing xampp is empty. For those with special requirements Source code, database password cannot be empty, otherwise it will not be installed, and the database information cannot be empty.

How to set mysql database password in xammp?

1. How to install xammp is introduced here. Find the installation directory of the software and find xampp-control.exe to start the software!

How to set mysql database password in xammp?


##2. Click start for Apache and Mysql key to run Apache and Mysql. If it cannot be started, please follow the prompts to find the reason. Most of them will be caused by port occupation issues, which I will not go into details here

How to set mysql database password in xammp?


3. After startup, click to select the Admin option of Mysql to enter the management interface.

How to set mysql database password in xammp?

How to set mysql database password in xammp?


#4. We have created a database here. As for how to create a new database, we will not introduce it here. Click "User" in the menu bar

How to set mysql database password in xammp?##5. Select the database you created and click "Edit Permissions".

How to set mysql database password in xammp?


##6. Pull down to find the change password option , select the password, enter the password, and re-enter the password.

How to set mysql database password in xammp?

##7. Select the password encryption method, and then click Generate Password. When you see this, the encrypted password has been generated, and the database password has been successfully modified.

The above is the detailed content of How to set mysql database password in xammp?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn