small medium large xlarge

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

Hello,

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.

Joe

Generic-user-small
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”:http://dev.mysql.com/doc/refman/5.0/en/old-client.html

Cheers,

Ed

You must be logged in to comment