_DrXenon Posted January 16, 2018 Share Posted January 16, 2018 Hey I have recently made a script and to save its data and keep it safe in case script was restarted/server was shutdown I moved the data into a SQL using executeSQLQuery function. I believe such function saves the data in the internal DB right? Anyway, I did that in my local server and everything worked fine. But when I moved the script into another (hosted) server, An error showed up in the debug section saying 'Database query failed: file is encrypted or is not database'. I don't know what the heck they talking about, but I need help. Any ideas? Link to comment
DRW Posted January 16, 2018 Share Posted January 16, 2018 I believe it's either a version mismatch or the database is damaged or encrypted, try using a newly installed database so you can at least check if it's a problem of the script, server or database. Link to comment
AserOsama Posted January 18, 2018 Share Posted January 18, 2018 Having same problem, It was working perfect then when I uploaded it to the host with the host settings everything started to get error due to no SQL Database Link to comment
3aGl3 Posted January 18, 2018 Share Posted January 18, 2018 Did you two check if the mta process has access rights onto the *.db file? Link to comment
AserOsama Posted January 18, 2018 Share Posted January 18, 2018 7 hours ago, 3aGl3 said: Did you two check if the mta process has access rights onto the *.db file? Well, how?! 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