Jump to content
  • 0

Mabako's paradise roleplay


TheBossasdasd

Question

Recommended Posts

  • 0

I made everything like in the TUT but is a problem conecting to mysql: i ggot this :

[2012-12-25 00:30:33] Resources: 273 loaded, 3 failed 
[2012-12-25 00:30:33] Querying game-monitor.com master server... failed! (302: Moved temporarily)
[2012-12-25 00:30:33] Querying backup master server... success!
[2012-12-25 00:30:34] MODULE: Loaded "MySQL 5.0 database module" (0.41) by "Alberto Alonso <[email protected]>"
[2012-12-25 00:30:34] MODULE: Loaded "SHA Module" (1.02) by "mabako"
[2012-12-25 00:30:34] MODULE: Loaded "MySQL 5.0 database module" (0.41) by "Alberto Alonso <[email protected]>"
[2012-12-25 00:30:34] Starting resources.....
[2012-12-25 00:30:34] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:34] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:34] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:34] Start up of resource sql cancelled by script
[2012-12-25 00:30:34] ERROR: Unable to start resource sql; Start up of resource cancelled by script
 
[2012-12-25 00:30:34] Start up of resource irc cancelled by script
[2012-12-25 00:30:34] ERROR: Unable to start resource irc; Start up of resource cancelled by script
 
[2012-12-25 00:30:35] WARNING: players/main.lua(Line 379) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday.
[2012-12-25 00:30:35] Some files in 'players' use deprecated functions.
[2012-12-25 00:30:35] Use the 'upgrade' command to perform a basic upgrade of resources.
[2012-12-25 00:30:35] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:35] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:35] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:35] Start up of resource sql cancelled by script
[2012-12-25 00:30:35] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:35] Start up of resource players cancelled by script
[2012-12-25 00:30:35] ERROR: Unable to start resource players; Start up of resource cancelled by script
 
[2012-12-25 00:30:36] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:36] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:36] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:36] Start up of resource sql cancelled by script
[2012-12-25 00:30:36] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:36] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:36] Start up of resource vehicles cancelled by script
[2012-12-25 00:30:36] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script
 
[2012-12-25 00:30:36] ERROR: Couldn't find resource interiors. Check it exists.
[2012-12-25 00:30:36] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:36] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:36] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:36] Start up of resource sql cancelled by script
[2012-12-25 00:30:39] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:39] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:39] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:39] Start up of resource sql cancelled by script
[2012-12-25 00:30:39] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:39] Start up of resource players cancelled by script
[2012-12-25 00:30:39] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:39] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:39] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:39] Start up of resource sql cancelled by script
[2012-12-25 00:30:39] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:39] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:39] Start up of resource items cancelled by script
[2012-12-25 00:30:39] ERROR: Unable to start resource items; Start up of resource cancelled by script
 
[2012-12-25 00:30:40] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:40] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:40] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:40] Start up of resource sql cancelled by script
[2012-12-25 00:30:40] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:40] Start up of resource players cancelled by script
[2012-12-25 00:30:41] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:41] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:41] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:41] Start up of resource sql cancelled by script
[2012-12-25 00:30:41] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:41] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:41] Start up of resource vehicles cancelled by script
[2012-12-25 00:30:41] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:41] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:41] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:41] Start up of resource sql cancelled by script
[2012-12-25 00:30:42] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:42] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:42] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:42] Start up of resource sql cancelled by script
[2012-12-25 00:30:43] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:43] Start up of resource players cancelled by script
[2012-12-25 00:30:43] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:43] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:43] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:43] Start up of resource sql cancelled by script
[2012-12-25 00:30:43] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:43] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:43] Start up of resource items cancelled by script
[2012-12-25 00:30:43] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:43] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:43] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:43] Start up of resource sql cancelled by script
[2012-12-25 00:30:43] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:43] Start up of resource players cancelled by script
[2012-12-25 00:30:43] ERROR: Couldn't find resource admin. Check it exists.
[2012-12-25 00:30:43] WARNING: shops/shop.lua(Line 57) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday.
[2012-12-25 00:30:43] Some files in 'shops' use deprecated functions.
[2012-12-25 00:30:43] Use the 'upgrade' command to perform a basic upgrade of resources.
[2012-12-25 00:30:43] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:43] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:43] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:43] Start up of resource sql cancelled by script
[2012-12-25 00:30:43] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:43] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:43] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:43] Start up of resource sql cancelled by script
[2012-12-25 00:30:45] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:45] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:45] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:45] Start up of resource sql cancelled by script
[2012-12-25 00:30:45] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:45] Start up of resource players cancelled by script
[2012-12-25 00:30:45] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:45] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:45] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:45] Start up of resource sql cancelled by script
[2012-12-25 00:30:45] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:45] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:45] Start up of resource items cancelled by script
[2012-12-25 00:30:45] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:45] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:45] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:45] Start up of resource sql cancelled by script
[2012-12-25 00:30:45] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:45] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:45] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:45] Start up of resource sql cancelled by script
[2012-12-25 00:30:45] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:45] Start up of resource players cancelled by script
[2012-12-25 00:30:45] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:45] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:45] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:45] Start up of resource sql cancelled by script
[2012-12-25 00:30:45] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:45] Start up of resource shops cancelled by script
[2012-12-25 00:30:46] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:46] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:46] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:46] Start up of resource sql cancelled by script
[2012-12-25 00:30:47] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:47] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:47] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:47] Start up of resource sql cancelled by script
[2012-12-25 00:30:47] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:47] Start up of resource players cancelled by script
[2012-12-25 00:30:47] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:47] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:47] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:47] Start up of resource sql cancelled by script
[2012-12-25 00:30:47] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:47] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:47] Start up of resource items cancelled by script
[2012-12-25 00:30:47] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:47] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:47] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:47] Start up of resource sql cancelled by script
[2012-12-25 00:30:48] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:48] Start up of resource players cancelled by script
[2012-12-25 00:30:48] ERROR: Unable to start resource shops; Start up of resource cancelled by script
 
[2012-12-25 00:30:48] ERROR: Unable to start resource job-carrier; Failed to link to interiors
[2012-12-25 00:30:48] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:48] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:48] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:48] Start up of resource sql cancelled by script
[2012-12-25 00:30:48] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:48] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:48] Start up of resource vehicles cancelled by script
[2012-12-25 00:30:48] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:48] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:48] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:48] Start up of resource sql cancelled by script
[2012-12-25 00:30:48] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:48] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:48] Start up of resource vehicles cancelled by script
[2012-12-25 00:30:48] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:48] Start up of resource maps cancelled by script
[2012-12-25 00:30:48] ERROR: Unable to start resource maps; Start up of resource cancelled by script
 
[2012-12-25 00:30:48] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:48] Start up of resource teleports cancelled by script
[2012-12-25 00:30:48] ERROR: Unable to start resource teleports; Start up of resource cancelled by script
 
[2012-12-25 00:30:48] ERROR: Couldn't find resource freecam. Check it exists.
[2012-12-25 00:30:48] WARNING: bank/bank.lua(Line 59) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday.
[2012-12-25 00:30:48] Some files in 'bank' use deprecated functions.
[2012-12-25 00:30:48] Use the 'upgrade' command to perform a basic upgrade of resources.
[2012-12-25 00:30:48] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:48] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:48] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:48] Start up of resource sql cancelled by script
[2012-12-25 00:30:50] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:50] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:50] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:50] Start up of resource sql cancelled by script
[2012-12-25 00:30:50] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:50] Start up of resource players cancelled by script
[2012-12-25 00:30:50] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:50] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:50] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:50] Start up of resource sql cancelled by script
[2012-12-25 00:30:50] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:50] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:50] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:50] Start up of resource sql cancelled by script
[2012-12-25 00:30:52] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:52] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:52] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:52] Start up of resource sql cancelled by script
[2012-12-25 00:30:52] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:52] Start up of resource players cancelled by script
[2012-12-25 00:30:52] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:52] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:52] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:52] Start up of resource sql cancelled by script
[2012-12-25 00:30:52] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:52] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:52] Start up of resource items cancelled by script
[2012-12-25 00:30:52] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:52] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:52] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:52] Start up of resource sql cancelled by script
[2012-12-25 00:30:52] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:52] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:52] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:52] Start up of resource sql cancelled by script
[2012-12-25 00:30:52] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:52] Start up of resource players cancelled by script
[2012-12-25 00:30:52] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:52] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:52] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:52] Start up of resource sql cancelled by script
[2012-12-25 00:30:52] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:52] Start up of resource bank cancelled by script
[2012-12-25 00:30:52] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:52] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:52] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:52] Start up of resource sql cancelled by script
[2012-12-25 00:30:52] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:52] Start up of resource players cancelled by script
[2012-12-25 00:30:52] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:52] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:52] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:52] Start up of resource sql cancelled by script
[2012-12-25 00:30:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:54] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:54] Start up of resource sql cancelled by script
[2012-12-25 00:30:54] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 00:30:54] Start up of resource players cancelled by script
[2012-12-25 00:30:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'db710'@'localhost' (using password: YES)
[2012-12-25 00:30:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 00:30:54] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 00:30:54] Start up of resource sql cancelled by script
Link to comment
  • 0

ok now the server works but now an another error i got:

[2012-12-25 18:27:55] Resource 'guieditor' requests some acl rights. Use the command 'aclrequest list guieditor' 
[2012-12-25 18:28:12] ERROR: Problem with resource: brpMath; Failed to link to easytext 
[2012-12-25 18:28:12] ERROR: Problem with resource: randommaths; Failed to link to easytext 
[2012-12-25 18:28:12] Resources: 90 loaded, 2 failed 
[2012-12-25 18:28:12] Querying game-monitor.com master server... failed! (302: Moved temporarily) 
[2012-12-25 18:28:12] Querying backup master server... success! 
[2012-12-25 18:28:12] MODULE: Loaded "MySQL 5.0 database module" (0.41) by "Alberto Alonso <[email protected]>" 
[2012-12-25 18:28:12] MODULE: Loaded "SHA Module" (1.02) by "mabako" 
[2012-12-25 18:28:12] MODULE: Loaded "MySQL 5.0 database module" (0.41) by "Alberto Alonso <[email protected]>" 
[2012-12-25 18:28:12] Starting resources..... 
[2012-12-25 18:28:13] SCRIPT ERROR: sql\mysql.lua:8: '<eof>' expected near 'end' 
[2012-12-25 18:28:13] WARNING: Loading script failed: sql\mysql.lua:8: '<eof>' expected near 'end' 
[2012-12-25 18:28:13] Start up of resource irc cancelled by script 
[2012-12-25 18:28:13] ERROR: Unable to start resource irc; Start up of resource cancelled by script 
  
[2012-12-25 18:28:14] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:14] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:14] Start up of resource players cancelled by script 
[2012-12-25 18:28:14] ERROR: Unable to start resource players; Start up of resource cancelled by script 
  
[2012-12-25 18:28:14] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:14] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:14] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:14] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:14] Start up of resource vehicles cancelled by script 
[2012-12-25 18:28:14] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script 
  
[2012-12-25 18:28:14] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:14] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:14] Start up of resource interiors cancelled by script 
[2012-12-25 18:28:14] ERROR: Unable to start resource interiors; Start up of resource cancelled by script 
  
[2012-12-25 18:28:17] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:17] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:17] Start up of resource players cancelled by script 
[2012-12-25 18:28:17] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:17] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:17] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:17] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:17] Start up of resource items cancelled by script 
[2012-12-25 18:28:17] ERROR: Unable to start resource items; Start up of resource cancelled by script 
  
[2012-12-25 18:28:19] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:19] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:19] Start up of resource players cancelled by script 
[2012-12-25 18:28:19] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:19] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:19] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:19] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:19] Start up of resource vehicles cancelled by script 
[2012-12-25 18:28:21] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:21] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:21] Start up of resource players cancelled by script 
[2012-12-25 18:28:21] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:21] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:21] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:21] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:21] Start up of resource items cancelled by script 
[2012-12-25 18:28:21] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:21] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:21] Start up of resource players cancelled by script 
[2012-12-25 18:28:24] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:24] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:24] Start up of resource players cancelled by script 
[2012-12-25 18:28:24] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:24] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:24] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:24] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:24] Start up of resource items cancelled by script 
[2012-12-25 18:28:24] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:24] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:24] Start up of resource players cancelled by script 
[2012-12-25 18:28:24] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:24] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:24] Start up of resource shops cancelled by script 
[2012-12-25 18:28:26] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:26] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:26] Start up of resource players cancelled by script 
[2012-12-25 18:28:26] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:26] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:26] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:26] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:26] Start up of resource items cancelled by script 
[2012-12-25 18:28:26] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:26] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:26] Start up of resource players cancelled by script 
[2012-12-25 18:28:26] ERROR: Unable to start resource shops; Start up of resource cancelled by script 
  
[2012-12-25 18:28:27] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:27] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:27] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:27] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:27] Start up of resource vehicles cancelled by script 
[2012-12-25 18:28:29] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:29] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:29] Start up of resource players cancelled by script 
[2012-12-25 18:28:29] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:29] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:29] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:29] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:29] Start up of resource items cancelled by script 
[2012-12-25 18:28:29] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:29] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:29] Start up of resource players cancelled by script 
[2012-12-25 18:28:29] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:29] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:29] Start up of resource shops cancelled by script 
[2012-12-25 18:28:31] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:31] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:31] Start up of resource players cancelled by script 
[2012-12-25 18:28:31] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:31] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:31] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:31] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:31] Start up of resource items cancelled by script 
[2012-12-25 18:28:31] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:31] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:31] Start up of resource players cancelled by script 
[2012-12-25 18:28:31] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:31] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:31] Start up of resource interiors cancelled by script 
[2012-12-25 18:28:31] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:31] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:31] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:31] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:31] Start up of resource vehicles cancelled by script 
[2012-12-25 18:28:32] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:32] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:32] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:32] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:32] Start up of resource vehicles cancelled by script 
[2012-12-25 18:28:32] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:32] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:32] Start up of resource maps cancelled by script 
[2012-12-25 18:28:32] ERROR: Unable to start resource maps; Start up of resource cancelled by script 
  
[2012-12-25 18:28:32] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:32] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:32] Start up of resource teleports cancelled by script 
[2012-12-25 18:28:32] ERROR: Unable to start resource teleports; Start up of resource cancelled by script 
  
[2012-12-25 18:28:34] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:34] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:34] Start up of resource players cancelled by script 
[2012-12-25 18:28:35] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:35] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:35] Start up of resource players cancelled by script 
[2012-12-25 18:28:35] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:35] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:35] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:35] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:35] Start up of resource items cancelled by script 
[2012-12-25 18:28:36] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:36] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:36] Start up of resource players cancelled by script 
[2012-12-25 18:28:36] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:36] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:36] Start up of resource bank cancelled by script 
[2012-12-25 18:28:36] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:36] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:36] Start up of resource players cancelled by script 
[2012-12-25 18:28:37] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:37] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:37] Start up of resource players cancelled by script 
[2012-12-25 18:28:37] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:37] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:37] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:37] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:37] Start up of resource items cancelled by script 
[2012-12-25 18:28:37] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:37] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:37] Start up of resource players cancelled by script 
[2012-12-25 18:28:37] ERROR: Unable to start resource bank; Start up of resource cancelled by script 
  
[2012-12-25 18:28:39] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:39] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:39] Start up of resource players cancelled by script 
[2012-12-25 18:28:39] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:39] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:39] Start up of resource factions cancelled by script 
[2012-12-25 18:28:39] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:39] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:39] Start up of resource players cancelled by script 
[2012-12-25 18:28:39] ERROR: Unable to start resource factions; Start up of resource cancelled by script 
  
[2012-12-25 18:28:39] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:39] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:39] Start up of resource 3dtext cancelled by script 
[2012-12-25 18:28:39] ERROR: Unable to start resource 3dtext; Start up of resource cancelled by script 
  
[2012-12-25 18:28:39] Server started and is ready to accept connections! 
[2012-12-25 18:28:39] To stop the server, type 'shutdown' or press Ctrl-C 
[2012-12-25 18:28:39] Type 'help' for a list of commands. 
[2012-12-25 18:28:40]               _                                    _ _ 
[2012-12-25 18:28:40]              | |                                  | (_) 
[2012-12-25 18:28:40]     _ __ ___ | |_ __ _   _ __   __ _ _ __ __ _  __| |_ ___  ___ 
[2012-12-25 18:28:40]    | '_ ` _ \| __/ _` | | '_ \ / _` | '__/ _` |/ _` | / __|/ _ \ 
[2012-12-25 18:28:40]    | | | | | | || (_| | | |_) | (_| | | | (_| | (_| | \__ \  __/ 
[2012-12-25 18:28:40]    |_| |_| |_|\__\__,_| | .__/ \__,_|_|  \__,_|\__,_|_|___/\___| 
[2012-12-25 18:28:40]                         | | 
[2012-12-25 18:28:40]                         |_| v1.00 
[2012-12-25 18:28:44] start: Resource could not be found 
[2012-12-25 18:28:52] Server stopped! 
[2012-12-25 18:28:53] Stopping resources......... 
[2012-12-25 18:28:53] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:53] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:53] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:53] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:53] Start up of resource vehicles cancelled by script 
[2012-12-25 18:28:53] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:53] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:53] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:53] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:53] Start up of resource vehicles cancelled by script 
[2012-12-25 18:28:53] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:53] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:53] ERROR: sql\layout.lua:65: attempt to call global 'query_assoc_single' (a nil value) 
[2012-12-25 18:28:53] ERROR: call: failed to call 'sql:create_table' [string "?"] 
[2012-12-25 18:28:53] Start up of resource vehicles cancelled by script 
[2012-12-25 18:28:53] Closing SQLite3 database 
  

Link to comment
  • 0

Yes this is the problem i made like in the tutorial because what was in the original archive i dont like it because it was strange and i cant find that things...

--[[ 
Copyright (c) 2010 MTA: Paradise 
  
This program is free software; you can redistribute it and/or modify 
it under the terms of the GNU General Public License as published by 
the Free Software Foundation; either version 3 of the License, or 
(at your option) any later version. 
  
This program is distributed in the hope that it will be useful, 
but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
GNU General Public License for more details. 
  
You should have received a copy of the GNU General Public License 
along with this program. If not, see . 
]] 
  
local connection = nil 
local connection = nil 
local null = nil 
local results = { } 
local max_results = 128 
  
-- connection functions 
local function connect( ) 
    -- retrieve the settings 
    local server = get( "server" ) or "localhost" 
    local user = get( "user" ) or "root" 
    local password = get( "password" ) or "" 
    local db = get( "database" ) or "mta" 
    local port = get( "port" ) or 3306 
    local socket = get( "socket" ) or nil 
     
    -- connect 
    connection = mysql_connect ( server, user, password, db, port, socket ) 
    if connection then 
        if user == "root" then 
            setTimer( outputDebugString, 100, 1, "Connecting to your MySQL as 'root' is strongly discouraged.", 2 ) 
        end 
        return true 
    else 
        outputDebugString ( "Connection to MySQL Failed.", 1 ) 
        return false 
    end 
end 
  
local function disconnect( ) 
    if connection and mysql_ping( connection ) then 
        mysql_close( connection ) 
    end 
end 
  
local function checkConnection( ) 
    if not connection or not mysql_ping( connection ) then 
        return connect( ) 
    end 
    return true 
end 
  
addEventHandler( "onResourceStart", resourceRoot, 
    function( ) 
        if not mysql_connect then 
            if hasObjectPermissionTo( resource, "function.shutdown" ) then 
                shutdown( "MySQL module missing." ) 
            end 
            cancelEvent( true, "MySQL module missing." ) 
        elseif not hasObjectPermissionTo( resource, "function.mysql_connect" ) then 
            if hasObjectPermissionTo( resource, "function.shutdown" ) then 
                shutdown( "Insufficient ACL rights for mysql resource." ) 
            end 
            cancelEvent( true, "Insufficient ACL rights for mysql resource." ) 
        elseif not connect( ) then 
            if connection then 
                outputDebugString( mysql_error( connection ), 1 ) 
            end 
             
            if hasObjectPermissionTo( resource, "function.shutdown" ) then 
                shutdown( "MySQL failed to connect." ) 
            end 
            cancelEvent( true, "MySQL failed to connect." ) 
        else 
            null = mysql_null( ) 
        end 
    end 
) 
  
addEventHandler( "onResourceStop", resourceRoot, 
    function( ) 
        for key, value in pairs( results ) do 
            mysql_free_result( value.r ) 
            outputDebugString( "Query not free()'d: " .. value.q, 2 ) 
        end 
         
        disconnect( ) 
    end 
) 
  
-- 
  
function escape_string( str ) 
    if type( str ) == "string" then 
        return mysql_escape_string( connection, str ) 
    elseif type( str ) == "number" then 
        return tostring( str ) 
    end 
end 
  
local function query( str, ... ) 
    checkConnection( ) 
     
    if ( ... ) then 
        local t = { ... } 
        for k, v in ipairs( t ) do 
            t[ k ] = escape_string( tostring( v ) ) or "" 
        end 
        str = str:format( unpack( t ) ) 
    end 
     
    local result = mysql_query( connection, str ) 
    if result then 
        for num = 1, max_results do 
            if not results[ num ] then 
                results[ num ] = { r = result, q = str } 
                return num 
            end 
        end 
        mysql_free_result( result ) 
        return false, "Unable to allocate result in pool" 
    end 
    return false, mysql_error( connection ) 
end 
  
function query_free( str, ... ) 
    if sourceResource == getResourceFromName( "runcode" ) then 
        return false 
    end 
     
    checkConnection( ) 
     
    if ( ... ) then 
        local t = { ... } 
        for k, v in ipairs( t ) do 
            t[ k ] = escape_string( tostring( v ) ) or "" 
        end 
        str = str:format( unpack( t ) ) 
    end 
     
    local result = mysql_query( connection, str ) 
    if result then 
        mysql_free_result( result ) 
        return true 
    end 
    return false, mysql_error( connection ) 
end 
  
function free_result( result ) 
    if results[ result ] then 
        mysql_free_result( results[ result ].r ) 
        results[ result ] = nil 
    end 
end 
  
function query_assoc( str, ... ) 
    if sourceResource == getResourceFromName( "runcode" ) then 
        return false 
    end 
     
    local t = { } 
    local result, error = query( str, ... ) 
    if result then 
        for result, row in mysql_rows_assoc( results[ result ].r ) do 
            local num = #t + 1 
            t[ num ] = { } 
            for key, value in pairs( row ) do 
                if value ~= null then 
                    t[ num ][ key ] = tonumber( value ) or value 
                end 
            end 
        end 
        free_result( result ) 
        return t 
    end 
    return false, error 
end 
  
function query_assoc_single( str, ... ) 
    if sourceResource == getResourceFromName( "runcode" ) then 
        return false 
    end 
     
    local t = { } 
    local result, error = query( str, ... ) 
    if result then 
        local row = mysql_fetch_assoc( results[ result ].r ) 
        if row then 
            for key, value in pairs( row ) do 
                if value ~= null then 
                    t[ key ] = tonumber( value ) or value 
                end 
            end 
            free_result( result ) 
            return t 
        end 
        free_result( result ) 
        return false 
    end 
    return false, error 
end 
  
function query_insertid( str, ... ) 
    if sourceResource == getResourceFromName( "runcode" ) then 
        return false 
    end 
     
    local result, error = query( str, ... ) 
    if result then 
        local id = mysql_insert_id( connection ) 
        free_result( result ) 
        return id 
    end 
    return false, error 
end 
  
function query_affected_rows( str, ... ) 
    if sourceResource == getResourceFromName( "runcode" ) then 
        return false 
    end 
     
    local result, error = query( str, ... ) 
    if result then 
        local rows = mysql_affected_rows( connection ) 
        free_result( result ) 
        return rows 
    end 
    return false, error 
end 
  

this was the original (unchanged)

Link to comment
  • 0
    --[[ 
    Copyright (c) 2010 MTA: Paradise 
      
    This program is free software; you can redistribute it and/or modify 
    it under the terms of the GNU General Public License as published by 
    the Free Software Foundation; either version 3 of the License, or 
    (at your option) any later version. 
      
    This program is distributed in the hope that it will be useful, 
    but WITHOUT ANY WARRANTY; without even the implied warranty of 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    GNU General Public License for more details. 
      
    You should have received a copy of the GNU General Public License 
    along with this program. If not, see . 
    ]] 
      
    local connection = nil 
    local connection = nil 
    local null = nil 
    local results = { } 
    local max_results = 128 
      
    -- connection functions 
    local function connect( ) 
        -- retrieve the settings 
        local server = get( "server" ) or "localhost" 
        local user = get( "user" ) or "a2480772_nhunor5" 
        local password = get( "password" ) or "Ujkarim1" 
        local db = get( "database" ) or "a2480772_rockmta" 
        local port = get( "port" ) or 3306 
        local socket = get( "socket" ) or nil 
        
        -- connect 
        connection = mysql_connect ( server, user, password, db, port, socket ) 
        if connection then 
            if user == "root" then 
                setTimer( outputDebugString, 100, 1, "Connecting to your MySQL as 'root' is strongly discouraged.", 2 ) 
            end 
            return true 
        else 
            outputDebugString ( "Connection to MySQL Failed.", 1 ) 
            return false 
        end 
    end 
      
    local function disconnect( ) 
        if connection and mysql_ping( connection ) then 
            mysql_close( connection ) 
        end 
    end 
      
    local function checkConnection( ) 
        if not connection or not mysql_ping( connection ) then 
            return connect( ) 
        end 
        return true 
    end 
      
    addEventHandler( "onResourceStart", resourceRoot, 
        function( ) 
            if not mysql_connect then 
                if hasObjectPermissionTo( resource, "function.shutdown" ) then 
                    shutdown( "MySQL module missing." ) 
                end 
                cancelEvent( true, "MySQL module missing." ) 
            elseif not hasObjectPermissionTo( resource, "function.mysql_connect" ) then 
                if hasObjectPermissionTo( resource, "function.shutdown" ) then 
                    shutdown( "Insufficient ACL rights for mysql resource." ) 
                end 
                cancelEvent( true, "Insufficient ACL rights for mysql resource." ) 
            elseif not connect( ) then 
                if connection then 
                    outputDebugString( mysql_error( connection ), 1 ) 
                end 
                
                if hasObjectPermissionTo( resource, "function.shutdown" ) then 
                    shutdown( "MySQL failed to connect." ) 
                end 
                cancelEvent( true, "MySQL failed to connect." ) 
            else 
                null = mysql_null( ) 
            end 
        end 
    ) 
      
    addEventHandler( "onResourceStop", resourceRoot, 
        function( ) 
            for key, value in pairs( results ) do 
                mysql_free_result( value.r ) 
                outputDebugString( "Query not free()'d: " .. value.q, 2 ) 
            end 
            
            disconnect( ) 
        end 
    ) 
      
    -- 
      
    function escape_string( str ) 
        if type( str ) == "string" then 
            return mysql_escape_string( connection, str ) 
        elseif type( str ) == "number" then 
            return tostring( str ) 
        end 
    end 
      
    local function query( str, ... ) 
        checkConnection( ) 
        
        if ( ... ) then 
            local t = { ... } 
            for k, v in ipairs( t ) do 
                t[ k ] = escape_string( tostring( v ) ) or "" 
            end 
            str = str:format( unpack( t ) ) 
        end 
        
        local result = mysql_query( connection, str ) 
        if result then 
            for num = 1, max_results do 
                if not results[ num ] then 
                    results[ num ] = { r = result, q = str } 
                    return num 
                end 
            end 
            mysql_free_result( result ) 
            return false, "Unable to allocate result in pool" 
        end 
        return false, mysql_error( connection ) 
    end 
      
    function query_free( str, ... ) 
        if sourceResource == getResourceFromName( "runcode" ) then 
            return false 
        end 
        
        checkConnection( ) 
        
        if ( ... ) then 
            local t = { ... } 
            for k, v in ipairs( t ) do 
                t[ k ] = escape_string( tostring( v ) ) or "" 
            end 
            str = str:format( unpack( t ) ) 
        end 
        
        local result = mysql_query( connection, str ) 
        if result then 
            mysql_free_result( result ) 
            return true 
        end 
        return false, mysql_error( connection ) 
    end 
      
    function free_result( result ) 
        if results[ result ] then 
            mysql_free_result( results[ result ].r ) 
            results[ result ] = nil 
        end 
    end 
      
    function query_assoc( str, ... ) 
        if sourceResource == getResourceFromName( "runcode" ) then 
            return false 
        end 
        
        local t = { } 
        local result, error = query( str, ... ) 
        if result then 
            for result, row in mysql_rows_assoc( results[ result ].r ) do 
                local num = #t + 1 
                t[ num ] = { } 
                for key, value in pairs( row ) do 
                    if value ~= null then 
                        t[ num ][ key ] = tonumber( value ) or value 
                    end 
                end 
            end 
            free_result( result ) 
            return t 
        end 
        return false, error 
    end 
      
    function query_assoc_single( str, ... ) 
        if sourceResource == getResourceFromName( "runcode" ) then 
            return false 
        end 
        
        local t = { } 
        local result, error = query( str, ... ) 
        if result then 
            local row = mysql_fetch_assoc( results[ result ].r ) 
            if row then 
                for key, value in pairs( row ) do 
                    if value ~= null then 
                        t[ key ] = tonumber( value ) or value 
                    end 
                end 
                free_result( result ) 
                return t 
            end 
            free_result( result ) 
            return false 
        end 
        return false, error 
    end 
      
    function query_insertid( str, ... ) 
        if sourceResource == getResourceFromName( "runcode" ) then 
            return false 
        end 
        
        local result, error = query( str, ... ) 
        if result then 
            local id = mysql_insert_id( connection ) 
            free_result( result ) 
            return id 
        end 
        return false, error 
    end 
      
    function query_affected_rows( str, ... ) 
        if sourceResource == getResourceFromName( "runcode" ) then 
            return false 
        end 
        
        local result, error = query( str, ... ) 
        if result then 
            local rows = mysql_affected_rows( connection ) 
            free_result( result ) 
            return rows 
        end 
        return false, error 
    end 
      

now is like this everything should work but now i got this error:

[2012-12-25 19:00:55] Resource 'guieditor' requests some acl rights. Use the command 'aclrequest list guieditor' 
[2012-12-25 19:01:02] ERROR: Problem with resource: brpMath; Failed to link to easytext
[2012-12-25 19:01:02] ERROR: Problem with resource: randommaths; Failed to link to easytext
[2012-12-25 19:01:02] Resources: 90 loaded, 2 failed
[2012-12-25 19:01:03] Querying game-monitor.com master server... failed! (302: Moved temporarily)
[2012-12-25 19:01:03] Querying backup master server... success!
[2012-12-25 19:01:03] MODULE: Loaded "MySQL 5.0 database module" (0.41) by "Alberto Alonso <[email protected]>"
[2012-12-25 19:01:03] MODULE: Loaded "SHA Module" (1.02) by "mabako"
[2012-12-25 19:01:03] MODULE: Loaded "MySQL 5.0 database module" (0.41) by "Alberto Alonso <[email protected]>"
[2012-12-25 19:01:03] Starting resources.....
[2012-12-25 19:01:04] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:04] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:04] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:04] Start up of resource sql cancelled by script
[2012-12-25 19:01:04] ERROR: Unable to start resource sql; Start up of resource cancelled by script
 
[2012-12-25 19:01:04] Start up of resource irc cancelled by script
[2012-12-25 19:01:04] ERROR: Unable to start resource irc; Start up of resource cancelled by script
 
[2012-12-25 19:01:04] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:04] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:04] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:04] Start up of resource sql cancelled by script
[2012-12-25 19:01:05] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:05] Start up of resource players cancelled by script
[2012-12-25 19:01:05] ERROR: Unable to start resource players; Start up of resource cancelled by script
 
[2012-12-25 19:01:05] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:05] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:05] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:05] Start up of resource sql cancelled by script
[2012-12-25 19:01:05] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:05] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:05] Start up of resource vehicles cancelled by script
[2012-12-25 19:01:05] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script
 
[2012-12-25 19:01:05] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:05] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:05] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:05] Start up of resource sql cancelled by script
[2012-12-25 19:01:05] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:05] Start up of resource interiors cancelled by script
[2012-12-25 19:01:05] ERROR: Unable to start resource interiors; Start up of resource cancelled by script
 
[2012-12-25 19:01:05] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:05] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:05] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:05] Start up of resource sql cancelled by script
[2012-12-25 19:01:06] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:06] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:06] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:06] Start up of resource sql cancelled by script
[2012-12-25 19:01:06] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:06] Start up of resource players cancelled by script
[2012-12-25 19:01:06] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:06] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:06] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:06] Start up of resource sql cancelled by script
[2012-12-25 19:01:06] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:06] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:06] Start up of resource items cancelled by script
[2012-12-25 19:01:06] ERROR: Unable to start resource items; Start up of resource cancelled by script
 
[2012-12-25 19:01:08] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:08] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:08] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:08] Start up of resource sql cancelled by script
[2012-12-25 19:01:08] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:08] Start up of resource players cancelled by script
[2012-12-25 19:01:08] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:08] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:08] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:08] Start up of resource sql cancelled by script
[2012-12-25 19:01:08] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:08] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:08] Start up of resource vehicles cancelled by script
[2012-12-25 19:01:08] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:08] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:08] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:08] Start up of resource sql cancelled by script
[2012-12-25 19:01:09] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:09] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:09] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:09] Start up of resource sql cancelled by script
[2012-12-25 19:01:09] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:09] Start up of resource players cancelled by script
[2012-12-25 19:01:09] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:09] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:09] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:09] Start up of resource sql cancelled by script
[2012-12-25 19:01:09] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:09] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:09] Start up of resource items cancelled by script
[2012-12-25 19:01:09] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:09] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:09] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:09] Start up of resource sql cancelled by script
[2012-12-25 19:01:09] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:09] Start up of resource players cancelled by script
[2012-12-25 19:01:10] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:10] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:10] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:10] Start up of resource sql cancelled by script
[2012-12-25 19:01:10] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:10] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:10] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:10] Start up of resource sql cancelled by script
[2012-12-25 19:01:11] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:11] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:11] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:11] Start up of resource sql cancelled by script
[2012-12-25 19:01:11] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:11] Start up of resource players cancelled by script
[2012-12-25 19:01:11] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:11] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:11] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:11] Start up of resource sql cancelled by script
[2012-12-25 19:01:11] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:11] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:11] Start up of resource items cancelled by script
[2012-12-25 19:01:11] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:11] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:11] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:11] Start up of resource sql cancelled by script
[2012-12-25 19:01:11] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:11] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:11] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:11] Start up of resource sql cancelled by script
[2012-12-25 19:01:11] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:11] Start up of resource players cancelled by script
[2012-12-25 19:01:11] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:11] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:11] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:11] Start up of resource sql cancelled by script
[2012-12-25 19:01:11] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:11] Start up of resource shops cancelled by script
[2012-12-25 19:01:11] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:11] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:11] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:11] Start up of resource sql cancelled by script
[2012-12-25 19:01:13] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:13] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:13] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:13] Start up of resource sql cancelled by script
[2012-12-25 19:01:13] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:13] Start up of resource players cancelled by script
[2012-12-25 19:01:13] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:13] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:13] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:13] Start up of resource sql cancelled by script
[2012-12-25 19:01:13] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:13] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:13] Start up of resource items cancelled by script
[2012-12-25 19:01:13] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:13] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:13] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:13] Start up of resource sql cancelled by script
[2012-12-25 19:01:13] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:13] Start up of resource players cancelled by script
[2012-12-25 19:01:13] ERROR: Unable to start resource shops; Start up of resource cancelled by script
 
[2012-12-25 19:01:13] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:13] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:13] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:13] Start up of resource sql cancelled by script
[2012-12-25 19:01:13] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:13] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:13] Start up of resource vehicles cancelled by script
[2012-12-25 19:01:13] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:13] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:13] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:13] Start up of resource sql cancelled by script
[2012-12-25 19:01:13] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:13] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:13] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:13] Start up of resource sql cancelled by script
[2012-12-25 19:01:14] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:14] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:14] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:14] Start up of resource sql cancelled by script
[2012-12-25 19:01:14] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:14] Start up of resource players cancelled by script
[2012-12-25 19:01:15] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:15] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:15] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:15] Start up of resource sql cancelled by script
[2012-12-25 19:01:15] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:15] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:15] Start up of resource items cancelled by script
[2012-12-25 19:01:15] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:15] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:15] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:15] Start up of resource sql cancelled by script
[2012-12-25 19:01:15] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:15] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:15] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:15] Start up of resource sql cancelled by script
[2012-12-25 19:01:15] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:15] Start up of resource players cancelled by script
[2012-12-25 19:01:15] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:15] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:15] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:15] Start up of resource sql cancelled by script
[2012-12-25 19:01:15] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:15] Start up of resource shops cancelled by script
[2012-12-25 19:01:15] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:15] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:15] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:15] Start up of resource sql cancelled by script
[2012-12-25 19:01:16] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:16] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:16] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:16] Start up of resource sql cancelled by script
[2012-12-25 19:01:16] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:16] Start up of resource players cancelled by script
[2012-12-25 19:01:16] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:16] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:16] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:16] Start up of resource sql cancelled by script
[2012-12-25 19:01:16] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:16] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:16] Start up of resource items cancelled by script
[2012-12-25 19:01:17] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:17] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:17] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:17] Start up of resource sql cancelled by script
[2012-12-25 19:01:17] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:17] Start up of resource players cancelled by script
[2012-12-25 19:01:17] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:17] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:17] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:17] Start up of resource sql cancelled by script
[2012-12-25 19:01:17] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:17] Start up of resource interiors cancelled by script
[2012-12-25 19:01:17] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:17] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:17] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:17] Start up of resource sql cancelled by script
[2012-12-25 19:01:17] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:17] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:17] Start up of resource vehicles cancelled by script
[2012-12-25 19:01:17] ERROR: Unable to connect to mysql: (1045) Access denied for user 'a2480772_nhunor5'@'localhost' (using password: YES)
[2012-12-25 19:01:18] ERROR: sql\mysql.lua:42: Connection to MySQL Failed.
[2012-12-25 19:01:18] Server shutdown as requested by resource sql (MySQL failed to connect.)
[2012-12-25 19:01:18] Start up of resource sql cancelled by script
[2012-12-25 19:01:18] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:18] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:18] Start up of resource vehicles cancelled by script
[2012-12-25 19:01:18] ERROR: exports: Call to non-running server resource (sql) [string "?"]
[2012-12-25 19:01:18] Start up of resource maps cancelled by script
[2012-12-25 19:01:18] ERROR: Unable to start resource maps; Start up of resource cancelled by script
 
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...