Home >Backend Development >PHP Tutorial >What is the default username and password of mac xampp mysql?
When installing xampp on mac, mysql and aptche can be opened normally, but I downloaded a phpmyadmin and did not know the username and password when logging in. Then I changed the password to 111111 through the mysql configuration file in xampp, and then the user root and password 111111 Login shows "#1045 - Access denied for user 'root'@'localhost' (using password: YES)"
Please help from experienced friends! ! ! ! !
User's following command
ln -s /Applications/XAMPP/bin/mysql /usr/bin
The following error is displayed
ln: /usr/bin/mysql: Operation not permitted
When installing xampp on mac, mysql and aptche can be opened normally, but I downloaded a phpmyadmin and did not know the username and password when logging in. Then I changed the password to 111111 through the mysql configuration file in xampp, and then the user root and password 111111 Login shows "#1045 - Access denied for user 'root'@'localhost' (using password: YES)"
Please help from experienced friends! ! ! ! !
User's following command
ln -s /Applications/XAMPP/bin/mysql /usr/bin
The following error is displayed
ln: /usr/bin/mysql: Operation not permitted
I am on win, my sql user is root, and the password is empty. Mac should be the same. To modify the database root password, you need to log in to my sql. Mac should be the same.
Try -h127.0.0.1 -uroot -p -P3306 and press Enter directly when entering the password
I did it myself, thank you everyone