problem with mysql 5 install and configuration

Bradley Giesbrecht pixilla at macports.org
Tue Jan 17 10:27:55 PST 2012


Like this:

$ mysql5 -u root -p


Regards,
Bradley Giesbrecht (pixilla)

On Jan 17, 2012, at 10:09 AM, Érico wrote:

> Hi 
> 
> like this ?
> ericomtx$ mysql5 -u root -D client_test_db
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
> 
> 2012/1/17 Lawrence Velázquez <larry.velazquez at gmail.com>
> 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