Home > Backend Development > PHP Tutorial > What is the default username and password of mac xampp mysql?

What is the default username and password of mac xampp mysql?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-06 13:53:27
Original
2671 people have browsed it

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

Reply content:

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

Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template