I am trying to make an application using mysql. When I do rails name --
d mysql, and then run mongrel. I will go to localhost:3000 and when i
check my application environment, I get an error We're sorry something
went wrong.
Now, when I do the same procedure without using --d mysql and just use
the defalt sqllite. When I check my application environment it shows
the information.
Hi:
I am trying to make an application using mysql. When I do rails name --
d mysql, and then run mongrel. I will go to localhost:3000 and when i
check my application environment, I get an error We're sorry something
went wrong.
Now, when I do the same procedure without using --d mysql and just use
the defalt sqllite. When I check my application environment it shows
the information.
Why does it not work when I try to use mysql?
Thanks
I would look in database.yml to see that things are like you expect.
Maybe rails has a different idea of what the socket should be. Check
the values of the socket, username and password (if used) and make sure
the database exists with the name shown in the database.yml.