Cannot Connect to Database Server mysql workbench

后端 未结 5 1997
悲&欢浪女
悲&欢浪女 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:39

    I don't know if it helps anyone, but I had the same problem on windows after updating from MySQL 5.7 to 8.0.

    The solution for me was to go to services.msc, stop the MySQL service and start the "MySQL80" service instead.

    Then I restarted MySQL Workbench (run as admin) and it worked.

提交回复
热议问题