Is it possible to connect from ruby/ActiveRecord to a mysql database over named pipes.
OS is Windows.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
after a few tries and looking at my .net connect calls i finally got it working.
I am using activerecord in a standalone script.
Here the call that works:
Please note that by default the configuration tool that comes with mysql server configures a socket called “mysql”. I have changed that to mysql_test to verify that indeed i am going over the named pipe.
Cheers.