09.07.2012, 19:55
(
Последний раз редактировалось Swyft™; 10.07.2012 в 04:44.
)
Well I finally integrated an Admin system of MySQL into mys cript, the issue is it won't connect
On my script
On my Volt-Host
DB Host (IP):
184.95.34.124
DB Host (Domain):
hydra.volt-host.com
DB Port:
3306
PHPMyAdmin:
hydra.volt-host.com/phpmyadmin
My MySQL Username/Database: 5731_kcor
I have tried adding the database port but I wonder if i do #define SQL_PORT "3306" or if i add it into the ip itself.
EDIT: I just tried it out, don't work
MYSQL DEBUG
[21:43:20] ---------------------------
[21:43:20] MySQL Debugging activated (07/09/12)
[21:43:20] ---------------------------
[21:43:20]
[21:43:20] >> mysql_ping( Connection handle: 0 )
[21:43:20] >> mysql_ping() - Invalid connection handle. (You set: 0, Highest connection handle ID is 0).
On my script
pawn Код:
#define SQL_HOST "184.95.34.124" //change me
#define SQL_USER "5731_kcor" //change me
#define SQL_DB "5731_kcor" //change me
#define SQL_PASS "********" //change me
DB Host (IP):
184.95.34.124
DB Host (Domain):
hydra.volt-host.com
DB Port:
3306
PHPMyAdmin:
hydra.volt-host.com/phpmyadmin
My MySQL Username/Database: 5731_kcor
I have tried adding the database port but I wonder if i do #define SQL_PORT "3306" or if i add it into the ip itself.
EDIT: I just tried it out, don't work
MYSQL DEBUG
[21:43:20] ---------------------------
[21:43:20] MySQL Debugging activated (07/09/12)
[21:43:20] ---------------------------
[21:43:20]
[21:43:20] >> mysql_ping( Connection handle: 0 )
[21:43:20] >> mysql_ping() - Invalid connection handle. (You set: 0, Highest connection handle ID is 0).