【发布时间】:2017-06-28 10:18:56
【问题描述】:
如果我忘记了 MySQL 的密码,如何重置?
当我运行这个命令时:
$ sudo mysql -u root // refer to the given link '2. Start the mysqld demon process using the --skip-grant-tables option with this command '
我的终端出现此错误:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
【问题讨论】: