SA-MP Forums Archive
Connect database VPS OVH to a localhost server? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Connect database VPS OVH to a localhost server? (/showthread.php?tid=615369)



Connect database VPS OVH to a localhost server? - Rubey - 21.08.2016

Hi, I installed a database on my VPS OVH. I'd like to connect to my local server (127.0.0.1), but it does not work.

Is this possible, or I made a mistake?

[16:25:16] [DEBUG] mysql_connect - host: "vps******.ovh.net", user: "******", database: "******", password: "****", port: 3306, autoreconnect: true
[16:25:16] [DEBUG] CMySQLHandle::Create - creating new connection..
[16:25:16] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called
[16:25:16] [DEBUG] CMySQLHandle::Create - connection created with ID = 1
[16:25:17] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'vps******.ovh.net' (10061)
[16:25:18] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'vps******.ovh.net' (10061)
[16:25:18] [DEBUG] mysql_errno - connection: 1
[16:25:18] [DEBUG] CMySQLHandle::~CMySQLHandle - deconstructor called