Not connecting to local sql

So i’m trying to revive ventmob with 2 maps,
chaos city and evocity v2d
But the SQL server is on the v2d pc and v2d can connect with it but chaos cant
Simple drawing of the situation:

And i get this lua eror:

EDIT: Updated links

you sent the same picture twice

and why it cant connect can be for a number of reasons, but most likely you haven’t configured mysql to allow external connections from chaos city ip

How do i allow external connections then

It depends what OS and what firewall solutions you are running.

He means the local gmod sql (see Query in the error).

Mind giving the code? or what the variable “Q” is?

Its fixed, we found a solution: SRCDS runs on one core, we were able to get it onto the same server.

SOLVED