可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
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 something like this before and would be able to help me out?
Here is what it looks like on start up:
And if I try to make a connection myself it shows this:
Any help would be much appreciated - thanks!
回答1:
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.
回答2:
If xamp already installed on your computer user these settings
回答3:
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
回答4:
if you are using localhost database, try port 3306