10.10.2016, 17:41
Sorry what do you mean?
Am I correct by saying you want to connect both your sa-mp gamemode and your website to the same mysql server?
If this is correct, then if your website is not local ( aka hosted on the same VPS as the sa-mp server ) then you need to use the external ip for the VPS.
You will also need to enable remote access to your db: Link to enable Remote Access
once you do that, you should be able to connect remotely to your mysql server.
Am I correct by saying you want to connect both your sa-mp gamemode and your website to the same mysql server?
If this is correct, then if your website is not local ( aka hosted on the same VPS as the sa-mp server ) then you need to use the external ip for the VPS.
You will also need to enable remote access to your db: Link to enable Remote Access
once you do that, you should be able to connect remotely to your mysql server.