MySQL Workbench - Connect to a Localhost

后端 未结 6 1859
感动是毒
感动是毒 2020-12-29 21:13

I just installed MySQL Workbench and there are no connections available for my localhost server. When I try to make one, I get an error popup. Has anyone experienced someth

相关标签:
6条回答
  • 2020-12-29 21:15

    Its Worked for me on Windows

    First i installed and started XAMPP Control Panel

    Clicked for Start under Actions for MySQL. And below is my Configuration for MySQL (MySQL Workbench 8.0 CE) Connections And it got connected with Test DataBase

    0 讨论(0)
  • 2020-12-29 21:21

    I had this problem and I just realized that if in the server you see the user in the menu SERVER -> USERS AND PRIVILEGES and find the user who has % as HOSTNAME, you can use it instead the root user.

    That's all

    0 讨论(0)
  • 2020-12-29 21:21

    You need to install mysql server for your machine first. Once done, you will be able to add local db details to it.

    For e.g. IP: 127.0.0.1
    port: 3306
    user: root
    pass: pass of root which you have set
    

    Here is the link on step by step guide for linux.

    https://support.rackspace.com/how-to/install-mysql-server-on-the-ubuntu-operating-system/

    0 讨论(0)
  • 2020-12-29 21:22

    Sounds like you only installed the MySQL Client Tools (MySQL Workbench). You have to install the MySQL Database server, configure and start it.

    http://dev.mysql.com/downloads/

    You probably want the MySQL Community Server download.

    0 讨论(0)
  • 2020-12-29 21:33

    if you are using localhost database, try port 3306

    0 讨论(0)
  • 2020-12-29 21:35

    If xamp already installed on your computer user these settings

    enter image description here

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