MySQL Workbench 5.2 CE, Windows 7, “Can't connect to MySQL Server on 127.0.0.1 (10061)”

后端 未结 15 1051
借酒劲吻你
借酒劲吻你 2020-12-24 09:12

I\'ve seen this problem asked a bunch of times on here but every solution posted hasn\'t been helpful for me.

I just got the x86 install and installed MySQL Workbenc

相关标签:
15条回答
  • 2020-12-24 09:47

    you might download and install mysql installer, which solved the same problem I had, link to download installer: http://dev.mysql.com/downloads/installer/

    0 讨论(0)
  • 2020-12-24 09:50

    It is indeed the case that your MySQL Server isn't running. bin is not in Workbench, its in MySQL Server directory. To start the MySQL Server ( I am assuming default installation path).

    Open command prompt. Navigate to MySQL server directory using command prompt.

    C:\cd Program Files\MySQL\MySQL Server 5.X\bin
    

    Once inside bin type in:

    C:\Program Files\MySQL\MySQL Server 5.X\bin :> mysqld --console
    

    The SQL Server will start-up. Do not close this command prompt. Use Workbench utilities as you usually do in another command prompt.

    If this doesn't work make sure you have MySQL Server installed on your system as Workbench is just a front end.

    0 讨论(0)
  • 2020-12-24 09:50

    I had this problem before. All you need to do is uninstall what you have installed and go to MySQL Installer 5.7.11

    with the MySQL Installer you don't need to download the MySQL Connectors by yourself because all of them is in the package of the MySQL Installer. Hope this help :D

    0 讨论(0)
提交回复
热议问题