1、数据库莫名就弹出Can’t connect to MySQL server on ‘localhost’ (10061)。
2、打开任务管理器->点击服务->找到MySQL***,***(版本号),比如我是8.03
3、右击启动服务,稍等片刻重新打开数据库就可以了.