1.MYSQL安装问题及处理
(1)解决安装mysql时出现 "A Windows service with the name MySQL already exists" 的方法
-------sc delete mysql 删除注册表信息
(2)提示 “Configuration file template” 错误
------安装目录出现中文
(3)出现“Could not start theservice MySQL”
注册表中有关MySQL的东西可能删除的不彻底(注:这个所说的注册表就是环境变量,得删除之前的环境变量)

出现“Could not start theservice MySQL
(4) net start mysql 提示发生系统错误 5;拒绝访问!切换到管理员模式就可以启动了
2.MYSQL连接idea遇到的问题
解决导入数据库Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manua
步骤如下:
set global time_zone = '+8:00';
show variables like 'time_zone';
解决连接数据库 Connection to @localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
在数据库路径后加
?serverTimezone=GMT

image.png