MySQL Forums
Forum List  »  Ruby

MySql connection error localhost 10061
Posted by: Peter Mooney
Date: February 24, 2020 03:03PM

Hello.
I cant connet to localhost:3000 I get the following error.

Mysql2::Error::ConnectionError

Can't connect to MySQL server on 'localhost' (10061)


conn_attrs = parse_connect_attrs(opts[:connect_attrs])

connect user, pass, host, port, database, socket, flags, conn_attrs
end

def parse_ssl_mode(mode)

I'm creating a ruby on rails application. When I create the app and create a dummy page it works, I can also connect to the your on rails page. But when I close it and open it again I get this message.

Can you help.

Peter.

Options: ReplyQuote


Subject
Written By
Posted
MySql connection error localhost 10061
February 24, 2020 03:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.