简体   繁体   中英

MYSQL WorkBench Not Connecting to Database

MySQL workbench is not connecting to server in localhost.

But, I was able to connect using command line. Now access denied in workbench and command prompt.

tried re-install Mysql, its working first time. after system (computer) restart, its not working again.

Tried to connect using workbench 5.2.

what is wrong with my installation or do i need to do any thing in Mysql.

I am using windows 8.1

This works only if you are connecting to localhost.

Use 127.0.0.1 as you hostname or simply type in "localhost" and Mysql server port being 3306. And Make sure there are no spaces after username. It might sometime cause you trouble.

is the MySQL database server on? go to command line and (er..at least in unix) you do /sbin/service mysqld start , in windows you do

"C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld"

I think the server stops every time you restart your computer unless you setup a bit. In UNIX, to start the mysqld server at boot time you have to copy support-files/mysql.server to the right place for your system. Not sure about Windows.

If that didn't help, try here? https://superuser.com/questions/666521/how-do-i-start-a-mysql-server-in-windows

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM