MySQL不允许使用正确的用户信息登录

时间:2013-10-28 15:06:27

标签: mysql macos homebrew

我有一个奇怪的问题。我已经在OSX 10.8.5上安装了自制的MySQL,当我尝试使用mysql -uroot -p登录时,它甚至没有提示输入密码,只是说启动MySQL SUCCESS!,但不会登录到MySQL控制台。我运行了secure_installation并为root设置了一个似乎正常工作的密码。我尝试使用brew uninstall和brew cleanup多次完全卸载它,但没有修复它。我已经搜索了互联网但没有找到任何东西。非常感谢您的帮助。

这是来自/ usr / local / var / mysql的日志文件:

2013-10-25 15:22:12 70321 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
2013-10-25 15:22:12 70321 [Note] Server socket created on IP: '127.0.0.1'.
2013-10-25 15:22:12 70321 [Note] Event Scheduler: Loaded 0 events
2013-10-25 15:22:12 70321 [Note] /usr/local/Cellar/mysql/5.6.13/bin/mysqld: ready for connections.
Version: '5.6.13'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
131025 15:22:15 mysqld_safe A mysqld process already exists
131025 15:22:20 mysqld_safe A mysqld process already exists
131025 15:23:30 mysqld_safe A mysqld process already exists
131025 15:30:57 mysqld_safe A mysqld process already exists
131025 15:31:01 mysqld_safe A mysqld process already exists
131028 08:49:14 mysqld_safe A mysqld process already exists
131028 08:49:22 mysqld_safe A mysqld process already exists

0 个答案:

没有答案