Home >Database >Mysql Tutorial >How to set mysql database password in xammp?
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.
1. How to install xammp is introduced here. Find the installation directory of the software and find xampp-control.exe to start the software!
##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
3. After startup, click to select the Admin option of Mysql to enter the management interface.
##5. Select the database you created and click "Edit Permissions".
##6. Pull down to find the change password option , select the password, enter the password, and re-enter the password.
##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!