I am trying to connect to remote MySQL server through rails. It is able
to create table through db:migrate. but it gives following error
can not connect to local mysql server through socket
while inserting data. we are trying to insert data through rhtml form .
@sub = Sub.new
@sub.name = params[:sub][:name]
plz. help me to solve the query…
we have made necessary correction in database.yml