[HELP!] MySQL connect ETIMEOUT

Please Help me i dont know anymore how i fix this problem…

Your server is failing to communicate with your database, there could be several reasons for this, but generally speaking:

  • Confirm your database details are entered correctly in your resource
  • Ensure your database is online AND accessible

It is acessable and it is still online.

My Server is Running on ubuntu 20.04 on Pterodactyl

Okay, let’s assume the time out issue is fixed and focus on the script errors.

attempt to get length of a nil value means the variable result on line 23 of resource es_extended/server/common.lua is returning empty. Can you confirm that what you’re attempting to retrieve from the database actually exists (the value in the table).

To offer you further assistance, post your code which includes line 23 from resource es_extended/server/common.lua.

I think the only Problem is the Timeout error… Do you know how to fix it?

If you’ve verified the database is online and accessible, my next guess would be that it has something to do with your database / web server rejecting the connection or not allowing it access.

Do you have this issue with another resource as well? Can you connect and manage another database table other than items? Do you have 2 IPs for your VPS? (if so, try the alternative IP)

All the Errors come from the Database because it cant connect to it idk why… But when i switch the host in the connection string it comes this error:
error

And i´m using 1 domain with 2 dns Server.
1 for the Database and 1 for Pterodactyl

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.