1.服务启动不起来
在bin目录下运行下面命名
mysqld --initialize-insecure --user=mysql
2.修改user密码
update mysql.user set authentication_string=password(‘root‘) where user=‘root‘ ;
3.mysql连接工具连接mysql服务器出错The‘INFORMATION_SCHEMA.SESSION_VARIABLES‘ feature is disabled; see thedocumentation for ‘show_compatibility_56‘
set global show_compatibility_56=on;
时间: 2024-10-05 16:18:37