Topic: mysql2(Can't conn server on 'localhost' (10061)

HI how are u?

im running rails 3.0.1 with mysql 5 and ruby 192.

I was working perfect with my mysql gem.(build my project,CRUD, etc).
i needed to install mysql2 to solve a problem and now when i try to access de database via ror

i get the error "mysql2 error Can't connect to MySQL server on 'localhost' (10061)"

I spend hours to find a solutions but nothing work...
my database is ok, i can connect correctly form mysqlclient, i download the libmysql.dll, my database.yml is correct,i set in gemfile that my  gem is gem "mysql2", "~> 0.2.7"....., i can start the webserver,

and i dont know what to do more?

Anybody found the same problem? anybody know how to solve it?

Thank you very much in advancee!

Last edited by raagmaand (2012-03-17 19:51:51)