Connect mysql with localhost
#1

This seems to not work, i have it on top of script
pawn Код:
#define MYSQL_HOST  "localhost"
#define MYSQL_USER  "root"
#define MYSQL_PASS  ""
#define MYSQL_DB    "xg"
May someone show the proper way?
Reply
#2

1. Are you using the mysql_connect function in your script :P?
2. Do you have a virtual server installed such as wamp or xampp?
3. In PhpMyAdmin do you have a database called xg?
Reply
#3

1. Yes
2. wamp
3. Yes
Reply
#4

Use mysql_debug(1); at OnGamemodeInit and after executing server, have to look into mysql_debug.txt file in server directory.
Reply
#5

ye thanks typhome, i forgot to check my debug lol.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)