Matt4life Posted March 29, 2012 Share Posted March 29, 2012 When ever I start my server.. at the end of it I get this.. [2012-03-29 10:04:07] Server stopped! [2012-03-29 10:04:07] Stopping resources....... [2012-03-29 10:04:08] ERROR: Unable to connect to mysql: (2003) Can't connect to MySQL server on 'localhost' (10061) [2012-03-29 10:04:08] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-03-29 10:04:08] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-03-29 10:04:08] Start up of resource sql cancelled by script [2012-03-29 10:04:08] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-03-29 10:04:08] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-03-29 10:04:08] Start up of resource vehicles cancelled by script [2012-03-29 10:04:09] ERROR: Unable to connect to mysql: (2003) Can't connect to MySQL server on 'localhost' (10061) [2012-03-29 10:04:09] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-03-29 10:04:09] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-03-29 10:04:09] Start up of resource sql cancelled by script [2012-03-29 10:04:09] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-03-29 10:04:09] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-03-29 10:04:09] Start up of resource vehicles cancelled by script [2012-03-29 10:04:09] Closing SQLite3 database Anyhelp would be GREATLY appreciated!! Thanks! Link to comment
drk Posted March 29, 2012 Share Posted March 29, 2012 Resource 'sql' isn't running because can't connect to MySQL. Link to comment
Matt4life Posted March 29, 2012 Author Share Posted March 29, 2012 Oh ok! Haha Gotcha.. Do you know how I could fix this? It says it is on localhost when infact it isnt.. Link to comment
drk Posted March 29, 2012 Share Posted March 29, 2012 You must change MySQL details and put your MySQL user / password / host. Link to comment
Matt4life Posted March 29, 2012 Author Share Posted March 29, 2012 Okay! I'll get back to you when I've done that!! Thanks for all in advance!! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now