Home  >  Article  >  Backend Development  >  mac xampp mysql 的默认用户名密码是什么?

mac xampp mysql 的默认用户名密码是什么?

WBOY
WBOYOriginal
2016-07-06 13:53:272543browse

mac下安装xampp mysql及aptche 都能正常开启,但是我下了一个phpmyadmin 登陆时不知道用户名密码,然后我通过xampp中的mysql配置文件中把密码改成111111 ,然后用户root ,密码111111登陆显示“#1045 - Access denied for user 'root'@'localhost' (using password: YES)”
请有经验的朋友帮忙!!!!!

用户以下命令
ln -s /Applications/XAMPP/bin/mysql /usr/bin
显示以下错误
ln: /usr/bin/mysql: Operation not permitted

回复内容:

mac下安装xampp mysql及aptche 都能正常开启,但是我下了一个phpmyadmin 登陆时不知道用户名密码,然后我通过xampp中的mysql配置文件中把密码改成111111 ,然后用户root ,密码111111登陆显示“#1045 - Access denied for user 'root'@'localhost' (using password: YES)”
请有经验的朋友帮忙!!!!!

用户以下命令
ln -s /Applications/XAMPP/bin/mysql /usr/bin
显示以下错误
ln: /usr/bin/mysql: Operation not permitted

我在win上面,my sql用户是root,密码为空。mac应该也一样。修改数据库root密码需要登录my sql。mac应该也一样。

试试-h127.0.0.1 -uroot -p -P3306 回车后输入密码时直接回车

自己搞定了,谢谢大家

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