the port i use in mysql, does it have to be the same as in Ruby? in
Ruby the standard is 3000.
and the MySQL default is 3306. Different processes need to listen on
*different* ports; unless you have a good reason to change them from
the default, don't
This case has already posted many times here. The matter is, user always
lazy to search their question to get answer in this forum, we put search
query at the bottom of left menu. Here i repost again the answer :
[1] gem install mysql
[2] you will see like error syntac but dont pay attention to it
[3] find LIBMYSQL.DLL from your mysql/bin folder in your mysql folder
not ruby folder.
[4] copy & paste that file to ruby/bin
[5] restart your server or console, if you are already run it.