Sign in to follow this  
_DrXenon

SQL Query error

Recommended Posts

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?

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

Did you two check if the mta process has access rights onto the *.db file?

Share this post


Link to post
7 hours ago, 3aGl3 said:

Did you two check if the mta process has access rights onto the *.db file?

Well, how?!

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.