Cannot Connect to Database Server mysql workbench

后端 未结 5 1995
悲&欢浪女
悲&欢浪女 2021-01-06 11:28

I\'m trying to connect to mysql workbench but I get the following error

Error Message Cannot Connect to Database Server

Your connection attempt failed for us

5条回答
  •  [愿得一人]
    2021-01-06 11:38

    I had the same issue a few days ago. As I could see in the original question, there has been multiple MySQL installation on the same computer - the same flow I tried after failing in the first attempt.

    In the case we are trying to reinstall MySQL, we should be aware of remaining hidden files after MySQL has been uninstalled for the first time. In order to remove them all (and make one successful installation), we should:

    1. Make hidden files visible on your computer (instructions)
    2. Delete all files related to MySQL after choosing uninstalling of the MySQL (I had to check C://ProgramData hidden folder)
    3. Try a new installation

    I think that during the first installation, I didn't have all required dependencies on the computer (for example Python) and the installation failed. After installing it, uninstalling the MySQL, and taking steps from above, I finally managed to run it successfully :)

    I hope this could help someone! :)

提交回复
热议问题