首页 > 技术文章 > mysql5.7问题

muzhao 2016-08-08 21:37 原文

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;

推荐阅读