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

后端 未结 15 1050
借酒劲吻你
借酒劲吻你 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:36

    Following command worked for me. Try it:

    C:\wamp\bin\mysql\mysql5.6.17\bin\mysqld.exe --console
    

    you should find mysqld.exe in your computer and then run it manually.

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

    I had the same problem and solved it as follows.

    1. Search for 'Services' in the Windows Search Bar.
    2. Click on 'Services', which should be the only hit.
    3. Scroll down to 'MySQL56'.
    4. Right-click on this item and hit 'Start' or 'Restart'.

    That's it! Easy as pie.

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

    I had the same problem.

    The problem is you installed the Workbench but not the Server. Moreover you have to configure the server first before you can connect to it.

    Long story short: Install this installer: http://dev.mysql.com/downloads/windows/installer/

    Check everything/install all options and you will be guided through a wizard. You can set up a root username and a password and you are ready to go to use the Workbench.

    Uninstall whatever you have installed so far.

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

    I had the same problem and i solved

    In my case.

    While i am installing the software in configuration phase i selected development machine instead of server so that i got the problem.

    So i uninstalled the mysqlinstaller and try delete all it's files in c:program files\mysql Reinstalled the mysqlinstaller this time i selected "server" so that problem solved.

    Note: If anyone couldn't solve the same problem by above solutions except mine try to do the same as i done. Because in services i couldn't find mysql55 service and i couldn't locate some files in cmd.

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

    I had the same issue on my laptop install (running windows 8.1) and my desktop (running windows 7). Both are 64bit.

    I had not used MySQL workbench on either system for over a year they were updated from versions 5.1 and 5.4 to MySQL Workbench V6.3CE I never did get the newer 6.3 version to update after countless hours researching potential known compatibility issues, any update release issues ect. (note: V6.3 ce did work on both systems the last time they were used so I was really baffled at what had happened.

    Here is what I did to solve the issue and get up and running with MySQL Server and MySQL Workbench.

    -Backed up all db schemas
    -Deleted MySQl WorkBench and any versions of MySQL Server vX.x via the control panel
    -Deleted the ALL associated folders from C:\Program Files, from C:\Program Files (x86), from C:\ProgramData (-this is a hidden file) (This is the only complete uninstall)
    -Go to Control Panel> System> Administrative > Services and look for your MySQL instance to be sure it's no listed. If it is you still have files and/or folders on your hard drive that need to be deleted and it may still be Running.
    -Run CMD as administrator [ C:\Windows\System32> ]
    use statement: Net MYSQL
    and then statement: sc delete
    This deletes all installs of MYSQl Server.
    -Restart
    -Re- Install I chose to use the earlier versions (MySQL Server 5.4 beta) first so that the config wizard runs and (MySql Workbench 5.2 CE) only because I wanted to get it up and running to create a restore point before any upgrade.
    After all of that I have both systems running and connecting with no errors, I was able to create my user accounts and adjust privileges during the connection creations. I assume at some point I will have to upgrade but not until this no longer works. Hope this helps as a one stop answer ( I visited at least 20 different topics nailed down what was missing from the previous upgrade installs.

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

    if you have used msi installer or exe to install mysql in windows, you can start the service from services.msc

    if you have just unzipped mysql from somewhere, service won't be available to start from services.msc. In this case start the server using mysqld.exe

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