mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;当然执行上面一句SQL我们还需要刷新下缓存区,使之生效mysql>FLUSH PRIVILEGES这种方法的好处就是在于 不用直接的修改用户的密码,而且采用经常使用的sql比较熟悉。...【阅读全文】
连不上mysql时一般有以下四种报错:1:Can't connect to MySQL server2:Lost connection to MySQL server3:Sorry, due to line fault, temporarily unable to browse, we are dealing with.4:MySQL server has gone away一:Can't connect to MySQL server 可能的原因:1,mysql服务端没有启起来2,网络不通(ipta...【阅读全文】
mysql版本:社区版5.6.34告警信息:2016-12-13 15:55:11 4bc8b940 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.2016-12-13 15:55:11 4bc8b940 InnoDB: Recalculation of persistent statistics requested for table "chenli"."cp_tb_test" but the required persistent statistics storage is not pr...【阅读全文】
连不上mysql时一般有以下四种报错:1:Can't connect to MySQL server2:Lost connection to MySQL server3:Sorry, due to line fault, temporarily unable to browse, we are dealing with.4:MySQL server has gone away一:Can't connect to MySQL server 可能的原因:1,mysql服务端没有启起来2,网络不通(ipta...【阅读全文】