XAMPP Modify the default empty password for MySQL

Source: Internet
Author: User
Tags php and mysql

# #这一个下午的成果, I really feel like a slag! Is it just a MySQL password change? It took me so long to take my own! (Remember not to make a mistake again)

Problems that occur first after installing the XAMPP:

1. Take-up port (through netstat of the XAMPP Control Panel to see if 80 and 443 ports are occupied)
When you start XAMPP, you can modify the port of this software if you report 80/443 ports being accounted for
Open C:\Program files\xampp\apache\conf\httpd.conf file to change 80 to 8080 (or other);
Open the C:\Program files\xampp\apache\conf\extra\httpd-ssl.conf file to change 443 to 4433 or close the SSL extension;

2. Modify the default blank password

Modify the $cfg of config.inc.php [' Servers '] [$i] [' Password ']= ' to $cfg [' Servers '] [$i] [' Password ']= ' new] According to the search tutorial Password '; then restart the computer, but the result is a blank password to log in. The last data to be searched also to modify the MySQL table password for the password just changed:


In general, it is to modify both the config.inc.php and MySQL tables.

XAMPP Modify the default empty password for MySQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.