Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ghmattimysql] [error] connect ETIMEDOUT #188

Open
ArchAngelAzrael opened this issue Sep 17, 2021 · 4 comments
Open

[ghmattimysql] [error] connect ETIMEDOUT #188

ArchAngelAzrael opened this issue Sep 17, 2021 · 4 comments

Comments

@ArchAngelAzrael
Copy link

i put the [databasename] to protect said server from hacking, but it is actually connected to a database that is setup correctly :)

Describe the bug
Getting odd ghmattimysql error "connect ETIMEDOUT" although xampp and my-SQL database has been established, using FiveM Qbus integration.

To Reproduce
Please provide a brief script that causes the error.

To reproduce simply restarting server, tried multiple fixes like the following:

#set mysql_connection_string "mysql://root@localhost/[databasename]?connectTimeout=30000&acquireTimeout=30000&waitForConnections=true&keepAlive=30&charset=utf8mb4"
#set mysql_connection_string "mysql://@localhost/[databasename]?connectTimeout=30000&acquireTimeout=30000&waitForConnections=true&keepAlive=30&charset=utf8mb4"
set mysql_connection_string "server=localhost;database=[databasename];userid=root"
#set mysql_connection_string "mysql://root@localhost/[databasename]?charset=utf8mb4"

unsure why it will not connect to mysql database.
ghmattimysql for FiveM and QBus integrations.

Expected behavior
A clear and concise description of what you expected to happen.

to establish database connection without any issue.

Screenshots / Logs
If applicable, add screenshots and Logs to help explain your problem.

image

Software:

  • OS: Windows 10 Server 2019
  • Version of the resource 1.3.2

image

  • Server version: 10.4.21-MariaDB - mariadb.org binary distribution

Thanks for all the help that you can provide

@ArchAngelAzrael ArchAngelAzrael assigned ghost Sep 17, 2021
@Nevadastate
Copy link

@ArchAngelAzrael were you able to fix this because I'm having this issue as well

@lawson403
Copy link

lawson403 commented Oct 1, 2022

@Nevadastate i have this issue and cant seem to figuer out how to fix it iv looked over everything i can possiably think of
image

@Blade1474
Copy link

how i fix the problom was to Set start to STREAM type resources ( cars, skins, mappings ) before start ghmattimysql hope this works for you

@C4-KTTK
Copy link

C4-KTTK commented Dec 20, 2022

how i fix the problom was to Set start to STREAM type resources ( cars, skins, mappings ) before start ghmattimysql hope this works for you

THAAAAAAAANKS!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants