(1)安装成功后,在命令提示符中输入mysql 提示错误。
解决办法:将mysql根目录加到path中:
(2)登录时mysql -u root -p
命令后输入密码提示:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
修改为:mysql -u root -p -P3306
然后输入密码登录成功。
(3)在mysql shell中输入mysql -v等命令,会提示:
ReferenceError: MYSQL is not defined
而在命令提示符中,登录成功后,则可以正常运行上述命令。