MAMP Mysql in Terminal

Posted by bharathrc on Stack Overflow See other posts from Stack Overflow or by bharathrc
Published on 2010-06-13T19:19:14Z Indexed on 2010/06/13 19:22 UTC
Read the original article Hit count: 120

Filed under:

Hello guys,

I've installed MAMP on my MacBook PRO Leopard OS. Phpmyadmin is working fine but I would like to use the terminal or bash to practice MySQL.

I seem to have a problem with it.

When I say: "mysql -h localhost -u root -p" / "mysql -h localhost -u root", it gives the following error.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES/NO)

Please suggest any solutions possible! Thanx in advance. :)

© Stack Overflow or respective owner

Related posts about mysql