MYSQL on VPS(Error connecting to Localhost)
#1

hello ,

i have a VPS , i uploaded my stuff on it i installed mysql and apache package on the VPS but when im starting my server ,crash detecter and mysql log says that i have something wrong with the db conenction ..


here is the MYSQL Log

PHP код:
[ERRORCMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'IP of my VPS' (111) 
i changed the IP on my gamemode to Localhost but the same problem ,

any one knows how to solve this problem ? or just someway to target for the server that im working on the VPS(localhost ? )
.

Thanks
Reply
#2

Use 127.0.0.1. Using the external IP for a locally hosted service is like knocking on your own front door.
Reply
#3

Thank you Vince , it works , i apreciate it brother

+1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)