Mysql 服务缺失

2021-12-27 00:00:00 service mysql

我在本地安装了 Mysql 服务器,一切正常,但是今天当我尝试连接到本地数据库时,出现错误.检查服务后发现缺少MySql服务...

I have installed Mysql server locally and everything was working Ok but today when I tried to get a connection to the local db, I got an error. After checking services showed that the MySql service is missing...

可能是什么问题?

提前感谢您的帮助

推荐答案

我是按照下面的方式搞定的

I have done it by the following way

  1. 启动cmd
  2. 转到C:Program FilesMySQLMySQL Server 5.6in"
  3. 输入 mysqld --install

喜欢下图.参见了解更多信息.

Like the following image. See for more information.

相关文章