报错

来源: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服务关系不大,可能退出重新登录就可以了。有问题再沟通哈

0
0

掌握Shell脚本编程 360架构师带你进阶Linux高手

30%知识讲解+70%实例操作 掌握Shell脚本编程能力

1649 学习 · 302 问题

查看课程