overextended / oxmysql

MySQL resource for FXServer.
https://overextended.dev/oxmysql
GNU Lesser General Public License v3.0
316 stars 194 forks source link

Connection Timeout When Starting Up Server Since v2.7.6 #210

Closed Legacy-TacticalGamingInteractive closed 10 months ago

Legacy-TacticalGamingInteractive commented 11 months ago

Describe the bug I just updated to v2.7.6 from v2.7.5.

Suddenly oxmysql refuses to connect during server startup and I have to manually restart oxmysql every time which then connects right away, and I then must start up 40+ other dependencies of course that use it.

This did not happen on v.2.7.5.

I've never had this issue until now. I even tried moving my ox resources to the top of my server.cfg to see if that would do the trick. No dice. The startup time is the same as always.

I am posting this because I noticed some things were changed with connection to the database on this release. ( https://github.com/overextended/oxmysql/commit/0398abc501453098823244a1bfe93bb27091b538 ) Perhaps its related. Since thats the exact issue I'm having.

[      script:oxmysql] Unable to establish a connection to the database (ETIMEDOUT)!
[      script:oxmysql] Error undefined: connect ETIMEDOUT

Expected behavior For oxmysql to be able to connect to database to connect on startup as normal.

Server details

Database details

Eridau commented 11 months ago

Can confirm I am experiencing this problem as well.

blakelyrachelle commented 11 months ago

i get this error with this version: SCRIPT ERROR: No such export execute in resource ghmattimysql

Legacy-TacticalGamingInteractive commented 11 months ago

i get this error with this version: SCRIPT ERROR: No such export execute in resource ghmattimysql

yeah i saw that one as well

KentaNo1 commented 11 months ago

I've experienced the same, it only connects after 2-3 restart, when loading can be fast enough to connect

Legacy-TacticalGamingInteractive commented 11 months ago

Temporary fix is to revert back to previous version: https://github.com/overextended/oxmysql/releases/tag/v2.7.5

AlexGThess commented 11 months ago

same issue here.

thelindat commented 11 months ago

https://github.com/overextended/oxmysql/compare/v2.7.6...main

KentaNo1 commented 10 months ago

Thanks

AlexGThess commented 10 months ago

2.7.7 seems resolved it.

KentaNo1 commented 10 months ago

Sure is 0001