09.03.2012, 21:22
Hi y'all, so, I never tried MYSQL on sa-mp, never wanted to... but now I got a webhost, and I was wondering if I could connect my sa-mp server to my website..
using this mysql plugin: https://sampforum.blast.hk/showthread.php?tid=56564
So, I got PHPMyAdmin on there, a mysql database all settled, so now i'm using this sample script, ip2country.
But, when I run the server, i'm getting this..
[23:12:54] CMySQLHandler::CMySQLHandler() - Connecting to "mysql.transip.nl" | DB: "phogonath_com_Phogo" | Username: "phog_com_Phogo"
[23:12:55] CMySQLHandler::Connect() - Can't connect to MySQL server on 'mysql.transip.nl' (10061) (Error ID: 2003)
using this mysql plugin: https://sampforum.blast.hk/showthread.php?tid=56564
So, I got PHPMyAdmin on there, a mysql database all settled, so now i'm using this sample script, ip2country.
But, when I run the server, i'm getting this..
[23:12:54] CMySQLHandler::CMySQLHandler() - Connecting to "mysql.transip.nl" | DB: "phogonath_com_Phogo" | Username: "phog_com_Phogo"
[23:12:55] CMySQLHandler::Connect() - Can't connect to MySQL server on 'mysql.transip.nl' (10061) (Error ID: 2003)