I got a OSX Server, i updated it t开发者_运维知识库o 10.6.5 from 10.6.4. Since then my Ruby on Rails Application (leihs) gibes me an Error. "your config/databse.yml may not be written correctly. Please check it and fix any errors. Your databse schema may be out of date or nonexistant. .... The database server may not be running. Please check whether it's running, and start if it isn't
Error message: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) (Mysql:error)
Then a looong list of backtraces whitch dont really help me.
The Socket file does NOT exist, and i cant find it on other places.
Please help me, this is making me crazy.
Thanks for your time & help
I appears that your mysql server is not running. You should debug that portion of your system before looking at your rails app.
A few things to checK:
- Can you connect from the command line?
- Are there startup errors in your mysql log file?
- Did you change IP addresses, share names or anything else that might have stuffed your mysql install?
I solved the Problem! Reinstalling the 10.6.5 Combo Update helped. -Download the correct Combo Update (same version (server/normal), same build) -Stop the Services (like Web and so on..) -Install the Update -Restart -Start Services -All should work again
Thanks to all of you guys for their help.
精彩评论