Javier Fontan wrote: > Hello, > > I've had this very issue. This is because this lines in mysql.rb: > > --8<------ > if (host == nil or host == "localhost") and defined? UNIXSocket then > unix_socket = socket || ENV["MYSQL_UNIX_PORT"] || MYSQL_UNIX_ADDR > sock = UNIXSocket::new(unix_socket) > @host_info = Error::err(Error::CR_LOCALHOST_CONNECTION) > @unix_socket = unix_socket > ------>8-- > > you can "fix" this by changing the "if" statement or connect to 127.0.0.1 (or the name of the machine), this will lead to use inet sockets instead unix ones. Hope it helps. > > Bye Can you show me what you changed the "if" statement to? Thanks for this, I'll give it a shot. __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com