Can't connect to MySQL server on 'localhost' (10061) after Installation

后端 未结 30 2845
予麋鹿
予麋鹿 2020-12-13 00:08

I installed MySQL using mysql-installer-5.5.20.0.msi on Windows 7. From the cmd window, I run \"mysqlshow -u root -p\". It asked for a password, then return

相关标签:
30条回答
  • 2020-12-13 00:20

    for who person that want use mysql or mariadb with out any error i suggest use version 5.5 just download a zip file mariadb-5.5.65-winx64.zip from https://downloads.mariadb.org/mariadb/5.5.65/ and to install follow this tutorial setp by step https://www.youtube.com/watch?v=uEPs6JsTZFc (this tutorial works well for version 5.5 too )

    0 讨论(0)
  • 2020-12-13 00:22

    I found the same error re occurring even after I tried all the above solutions given above. I had even tried version 5.7 and few more. Guys don't waste your time trying to fix it. Rather install version 5.5. It's working perfectly fine without any unnecessary error.

    0 讨论(0)
  • 2020-12-13 00:22

    The solution that fixed the issue was using the following steps:

    In Start Menu, search for "mysql". Among the results, you should see the "MySQL Installer - Community". Run it. MySQL Installer window will show up as shown below. Find "MySQL Server" under Product and click on "Reconfigure" link. MySQL Installer Community

    The MySQL Installer will show up (same one you used for the first MySQL Server installation). Go through all the steps.

    After the MySQL Installer was finished, I started the MySQL service again.

    0 讨论(0)
  • 2020-12-13 00:25

    Well in my case I just opened services.msc using run and restarted 2 of the services related to mysql and it worked!

    0 讨论(0)
  • 2020-12-13 00:25

    The main reason for this kind of error is you might have uninstalled Mysql server application. Install it and then give it a go.

    0 讨论(0)
  • 2020-12-13 00:26

    Just turn off the firewall and remove the instance configuration. Add a new instance for the server.![Disable Firewall][1] Give he port number correctly as 3306 as default

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