problem with mysql 5 install and configuration

Lawrence Velázquez larry.velazquez at gmail.com
Thu Jan 5 08:58:49 PST 2012


On Jan 5, 2012, at 6:50 a.m., Érico wrote:

> after have port installed both I run : 
> sudo -u _mysql mysql_install_db5
> 
> then I try : 
> bash-3.2# mysqladmin5 -u root -p ping
> Enter password: 
> 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!

Maybe you left it out, but did you actually run mysql5_safe before trying mysqladmin5?

vq


More information about the macports-users mailing list