Ruby on rails on linux (ubuntu) want my mysql password but..

Hi Markus,

Markus Zuercher wrote:

My mysql server works fine, and i can access it also with phpmyadmin or other mysql tools.

I have installed ruby on rails and have started creating a project:

# rails testapplication

That was successfull and I edited the database.yml file and setted up my database info (database already existing in mysql).

When I now start WEBrick and pointing my browser to localhost:3000, I get the nice start page.. (welcome abroad) but there is also a "Rails needs to know your login and password." on that.


I have also built a test.rb file, which can connect to mysql and puts out the current mysql server version...

What's wrong? Anybody got ideas?

Thanks! :frowning:   

Have you installed the libmysql-ruby pacakge?

sudo apt-get install libmysql-ruby