problem with mysql 5 install and configuration

Lawrence Velázquez larry.velazquez at gmail.com
Tue Jan 17 09:57:58 PST 2012


On Jan 17, 2012, at 12:36 p.m., Érico wrote:

> But I am not able to connect to it 
> 
> what is the command to use ? and what would be the id ? root or_mysql or both ?

http://dev.mysql.com/doc/refman/5.1/en/connecting.html

- The mysql5 port installs the tool as "mysql5", not "mysql".
- The user names you specify when you connect to a database are for *database users*, not *system users*. Since you haven't set up any MySQL users, you must connect as the root MySQL user. I don't think it has a password by default.
- You may have to specify the mysqld's Unix socket using "--socket" if mysql5 can't find it automatically.

vq


More information about the macports-users mailing list