Heim  >  Artikel  >  Backend-Entwicklung  >  mac xampp mysql 的默认用户名密码是什么?

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

WBOY
WBOYOriginal
2016-07-06 13:53:272544Durchsuche

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 回车后输入密码时直接回车

自己搞定了,谢谢大家

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn