I installed MySQL 2 yrs ago without any issues on Mac. But now I got new Mac and I cannot connect to newly installed db. This is extremely frustrating as I am trying now for DAYS to solve the problem.
Here is what I did:
- Went to: http://dev.mysql.com/downloads/
- Downloaded: MySQL Workbench (GPL) Release 6.3.4
- I didn't know whether that installed MySQL server, since nowhere is it clearly stated that the package "includes MySQL server"...so
- I also installed MySQL Community Server (GPL): 5.6.26
- On My Mac I went to "system preferences" the MySQL icon was visible. Clicked on MySQL icon -> message states "The MYSQL Server Instance IS RUNNING"
- I opened up my workbench and tried to connect to db using hostname:127.0.0.1, Port:3306, Username:root, Password [none]. Then I click on "Test Connection" and I get error message...
"Failed to Connect to MySQL at 127.0.0.1:3306 with user root Can't connect to MySQL server on '127.0.0.1' (61)"
What is happening? Why cannot I connect to db?
When I go to command prompt and enter mysql, it doesn't recognize command.
When I type in export PATH=${PATH}:/usr/local/mysql/bin/
and then mysql command, the mysql command returns its typical language "Welcome to the MySQL monitor.....etc"
Can someone explain why I cannot connect to the database using Workbench? (I also cannot connect using Navicat)
I NEVER remember having such issues when I was installing MySql 2 years ago.