small medium large xlarge

27 May 2008, 16:32
Joseph Barberio (1 post)


I am new to rail and have been trying to work out a problem for a week:

I am using Windows Vista (my first mistake) and have installed Instant Rails, followed the directions precisely and am stuck on trying to connect to my MySql Database. When I go to my command line and enter: mysqladmin -u root create depot_development I always get the following error:

connect to server@localhost failed error: ‘Access denied for root@localhost

I have check security setting, added an explicit user name and password and commented out the socket line to no avail. I know I am missing something. I appreciate any help you can give me.


27 Jun 2008, 22:22
Ed (1 post)

Hi there Joe,

Don’t know if you have sorted this out yet.

I recently started sliding the Rails too, also on Vista and also with MySQL. I myself am using the 4.1.22 Community edition version.

What version are you using of the MySQL DB? What can be the case here, is that the password must be stored using the old_password option.

Here is some reference link; I can’t remember exactly how I solved it myself, but it might give you a headstart. “old_client”:



You must be logged in to comment