problem with mysql 5 install and configuration
Bradley Giesbrecht
pixilla at macports.org
Tue Jan 17 11:53:24 PST 2012
On Jan 17, 2012, at 10:52 AM, Érico wrote:
> Hello
>
> both work in command line :
>
> step 1 => $ mysql5 -u root --socket=/opt/local/var/run/mysql5/mysqld.sock
>
> step 2 => $ mysql5 -u root -p
>
> I am trying now to use phpmyadmin on it and I am getting the following :
>
> Error
> #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
You can either configure phpmyadmin to use your socket path:
/opt/local/var/run/mysql5/mysqld.sock
or specify 127.0.0.1 for host.
$ mysql5 -uroot -p -h127.0.0.1
Or configure mysql for some other ip interface in /opt/local/etc/mysql5/my.cnf.
Regards,
Bradley Giesbrecht (pixilla)
More information about the macports-users
mailing list