Hero192 Posted March 1, 2016 Share Posted March 1, 2016 Hello comminity, today I face a small issue Since my whole server is based on MySQL & dbFunctions, I became interested of "debugdb" command & it's file. But, I when I type /debugdb 2 in server console F8, it says that the cmd is actived to level 2 but nothing appear, I have no idea when it appears the querie's action or something related to SQL & dbfunctions. Also, dbfile doesn't exist in logs folder. I hope you can tell me what can I do. Thanks in advance. Link to comment
MTA Team ccw Posted March 2, 2016 MTA Team Share Posted March 2, 2016 Check mtaserver.conf and ensure is: <dbfile>logs/db.log</dbfile> start runcode and enter these commands via the client console (F8): run db = dbConnect( "sqlite", "test.db" ) run dbQuery(db, 'SELECT a') Then check for the file mods/deathmatch/logs/db.log If it does not exist, ensure the permissions of mods/deathmatch/logs allows for file creation by the MTA server 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