ruby on rails - MySQL - cannot log in to MySQL on Lion OS X -


i have installed rails app mysql database on lion os x. in config/database.yml database set user (root) + password.

when try log in mysql terminal: mysql -uroot or mysql -u root, get

error 1045 (28000): access denied user 'root'@'localhost' (using password: no) 

i tried set new password, got again same error message. how can log in terminal mysql , browse tables in databases?

thanks


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -