Jump to content

SQL errors


Recommended Posts

I'm getting a lot of errors that look like this:

ERROR: Unable to connect to mysql: (2004) Can't create TCP/IP socket (24)

ERROR: While updating account with 'UPDATE userdata SET value='0', type=3 WHERE userid=0 AND key='Resets'': SQL logic error or missing database.

I recently installed mySQL module but I am still using a simple internal.db to store account data. Is this the problem?

Link to comment
This might seem weird, but are there any errors in the server console when you try to run the resource again? Plus, honestly you shouldn't even be using the MYSQL module. It's outdated and MTA:SA already supports functions that connect to databases and such.

What resource? The one that saves account data or the one that uses MySQL? I haven't tried to restart anything.

Also, since when is MTA supporting MySQL functions by default? Could you provide some links?

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...