3

I'm using http://laragon.org for my server

I got a problem yesterday my apps cannot connect to mysql and give me this error message

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061 "Unknown Error").

and I tried to run mysql -v but got same error. I'm using :

  • OS Windows 10 64bit
  • Laragon v0.7
  • No antivirus running
  • No others server running (this is the only server in the pc)

I'm searching everywhere but the answer is to start MySQL service, but I don't find any MySQL service in services.msc (I read on their site if Laragon won't add anything to the System Path Variable. But, you are freely to use composer, artisan, mysql, mysqldump, httpd, redis-cli, ... in Laragon' shell)

error message

and in their control panel status MySQL 10.0.20 started.. i tried to restart all service and pc but still got the problem

anyone know how to fix this problem ?

UPDATE : mysql -V is working, just need to uppercase -v, but still cannot connect to my MySQL Database

4

2 回答 2

1

网站上可以看出:

没有 Windows 服务

Laragon 通过自己的最佳服务管理器管理其他服务器。

这为您在services.msc. 你能检查接口本身(如果你在里面找不到 laragon 服务本身services.msc)并检查 MySQL 服务是否正在运行吗?

拉贡

此外,查看 laragon 的安装目录中的logs 文件。如果一切都失败,请关闭并重新启动 laragon。

于 2015-12-02T09:33:55.493 回答
1

您正在运行一个非常旧版本的 Laragon。
尝试安装 Laragon 0.9 151004,我相信它会有所帮助。

于 2015-12-02T12:34:40.367 回答