1:mysql安装提示找不到vcruntime140_1.dll
cd /d E:\tool\mysql-8.0.22-winx64\bin
进入目录后 mysqld -install 报错了
这时候需要下载这个插件了。
官网下载地址:https://cn.dll-files.com/vcruntime140_1.dll.html
或者去我的百度网盘取
链接: https://pan.baidu.com/s/1DCr8P4ayrshTMuxcrMDToQ 提取码: 25pr 复制这段内容后打开百度网盘手机App,操作更方便哦
2:启动出现系统错误193
这是自动在我的 C:\Windows\System32 下有个mysql.exe文件,与我安装的目录不符合,把这个删除就可以了
3:Can’t connect to MySQL server on ‘localhost’ (10061)
先 mysqld --remove mysql
mysqld --initialize-insecure --user=mysql
mysqld --install mysql
再启动 net start mysql
4:Navicat连接mysql提示错误10038
本地的mysql服务没启动
按下键盘上的win+r按键,然后在输入框中输入:services.msc命令
将mysql服务启动起来
6:mysql修改密码报错:1290
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
先执行:flush privileges;
再执行:alter user root@localhost identified by ‘root’;
by ‘root’; = by ‘密码’;