Database connection

image how can i fix that error?
And is it possible that i localhost database with xampp and run game server with zaphosting?
Thanks.

you cant connect to your own personal localhost database to zaphosting…

well actually you could but there would be port forwarding etc involved its not the route you want to go down…

if your getting 127.0.0.1:3306 connection error on your zaphosting, contact zap and request the database connection info and port, im unsure as to how zap do their server setups as i dont use them personally but they should be able to provide the connection info, whether its a public or private ip which you connect to your sql database on.

turn on the database