mysql5.7问题

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;

posted on 2016-08-08 21:37  木兆  阅读(194)  评论(0编辑  收藏  举报

导航