Problem with MySQL connection
#7

It doesn't need to be as much as that, you can just do this, Stricken's automatically tells you if you are connected are not

pawn Код:
//Under OnGameModeInIt is easy as this:
new MySQL:connection = mysql_init(1); //Log Everything
mysql_connect(sql_host, sql_user, sql_pass, sql_db, 1, connection);
It will tell you if you are connected or not
Reply


Messages In This Thread
Problem with MySQL connection - by WH4YER0 - 21.08.2010, 16:01
Re: Problem with MySQL connection - by WackoX - 21.08.2010, 16:15
Re: Problem with MySQL connection - by Toni - 21.08.2010, 16:25
Re: Problem with MySQL connection - by WH4YER0 - 21.08.2010, 16:50
Re: Problem with MySQL connection - by playbox12 - 21.08.2010, 16:55
Re: Problem with MySQL connection - by WH4YER0 - 21.08.2010, 16:58
Re: Problem with MySQL connection - by Toni - 21.08.2010, 17:04
Re: Problem with MySQL connection - by Agent Smith - 21.08.2010, 17:07
Re: Problem with MySQL connection - by playbox12 - 21.08.2010, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)