报错
来源:11-1 安装MySQL数据库,导入测试数据

哈团
2020-05-11
这次我创建的是:create database test2
grant all on test2.* to ‘test2’@‘localhost’ identified by ‘123456’;
flush privileges;
mysql -hlocalhost -utest2 -p
MariaDB [(none)]> show databases;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect…
Connection id: 55
Current database: *** NONE ***
ERROR 1184 (08S01): Aborted connection 55 to db: ‘unconnected’ user: ‘test2’ host: ‘localhost’ (init_connect command failed)
写回答
1回答
-
酷田
2020-05-26
抱歉同学,这段时间工作有些忙,回复晚了。这个问题现在还有嘛?这个我感觉和mysql服务关系不大,可能退出重新登录就可以了。有问题再沟通哈
00
相似问题