MySql Keeps failing me
#1

Code:

Код:
	mysql_init();
	mysql_connect(MYSQL_HOST,MYSQL_USER,MYSQL_PASS,MYSQL_DB);
	mysql_query("INSERT INTO hello (Username,Password) VALUES ('hello','bellow')");
in OnGameModeInit, i have all the plugin set in server.cfg, gamemode loaded, I check my DB with phpMyAdmin, nothing happens (same)

Any idea why?

The Structure is fine, i copy pasted it and ran it into phpyMyAdmin, worked fine. I'm using 000webhost, I defined all those variables, it compiles fine. Now it doesn't do its function

Any idea why?


EDIT: I'm sure i copy pasted the stuff right, but its saying that it can't connect...
Reply


Messages In This Thread
MySql Keeps failing me - by DeadAhead - 28.06.2011, 16:42
Re: MySql Keeps failing me - by PrawkC - 28.06.2011, 16:47
Re: MySql Keeps failing me - by DeadAhead - 28.06.2011, 17:14

Forum Jump:


Users browsing this thread: 1 Guest(s)