problem with mysql 5 install and configuration

Érico ericomtx at gmail.com
Tue Jan 17 10:09:47 PST 2012


Hi

like this ?
ericomtx$ mysql5 -u root -D client_test_db
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO)

Regards
Érico


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120117/1cb43cb7/attachment.html>


More information about the macports-users mailing list