本文共 285 字,大约阅读时间需要 1 分钟。
一、在cmd执行net stop mysql,提示“发生系统错误 5;拒绝访问”
原因是我用的普通模式打开cmd,改用管理员身份运行就没问题了
二、用管理员身份运行cmd,连接数据库时不能采用密码明文的方式
采用mysql -uroot -p密码连接数据库,会提示“Using a password on the command line interface can be insecure”,并报错“ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)”
转载地址:http://pynii.baihongyu.com/