Opened 14 years ago
Last modified 7 years ago
#24956 closed defect
Having trouble installing mysql — at Initial Version
Reported by: | samii@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | wiki | Version: | |
Keywords: | Cc: | ||
Port: | php5 |
Description
Hi:
I have started the process of installing MAMP as per the instructions on the MacPorts wiki howto for MAMP on http://trac.macports.org/wiki/howto/MAMP
I had no problems through the beginning of Step 3: Install MySQL. The port install worked seamlessly.
However, setting up the database was very silent (no feedback what so ever).
The autostart seems to work, and grep filtering for mysql processes seems to indicate mysql is running no problem.
But when I try to set the root password, I get the following error.
mysqladmin5: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/opt/local/var/run/mysql5/mysqld.sock' exists!
Likewise, when I try to log into the server, it says:
Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2)
I am running Mac OS X 10.6.3 2.4 GHz Intel Core 2 Duo 3 GB Ram
Not sure how to proceed.