Hi
Is it possible to connect from ruby/ActiveRecord to a mysql database over named pipes. OS is Windows.
Thanks.
Hi
Is it possible to connect from ruby/ActiveRecord to a mysql database over named pipes. OS is Windows.
Thanks.
hi,
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:
ActiveRecord::Base.establish_connection(
:adapter => "mysql",
:host => ".",
:username => "root",
:password => "root",
:database => "test",
:socket => "mysql_test")
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.