Problem with MySQL connection
#9

No problem man, I just do it for free :P

Quote:
Originally Posted by The Toni
Посмотреть сообщение
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
Yeah true, but I just showed him how to fix HIS code, I didn't want to completely change it
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)