issues running mysql, mysql5?

Chris Drackett drackett at mac.com
Sat Mar 31 09:57:03 PDT 2007


I have installed mysql and mysql5 using macports.. I used to have it  
installed pre-macports, but that install didn't seem to work with the  
things (like python) that I recently installed via macports. Here is  
the message I am getting when I try to run mysql5 (which i assume is  
the same as mysql?)

Hobbes:~ cwd$ mysql5
ERROR 2002 (HY000): Can't connect to local MySQL server through  
socket '/opt/local/var/run/mysql5/mysqld.sock' (2)

and if I try and run mysql, it can't find it, so I try and activate  
using port:

Hobbes:~ cwd$ port activate mysql
--->  Activating mysql
Error: port activate failed: Image error: /opt/local/share/man/man1/ 
mysql.1.gz is being used by the active mysql5 port.  Please  
deactivate this port first, or use the -f flag to force the activation.

I am new to this, and have no idea what is going on :)




More information about the macports-users mailing list