How to connect mysql server with custom port?(using BlueG's plugin R6_2) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to connect mysql server with custom port?(using BlueG's plugin R6_2) (
/showthread.php?tid=410314)
How to connect mysql server with custom port?(using BlueG's plugin R6_2) -
yxliang - 25.01.2013
How to connect mysql server with custom port?(using BlueG's plugin R6_2)
Re: How to connect mysql server with custom port?(using BlueG's plugin R6_2) -
denNorske - 25.01.2013
Use
pawn Code:
//wherever you have this in your script, add the port at the end.
mysql_connect("localhost", "root", "database", "password", 3306);
where the port is defined at the last parameter, (3306). Good luck!
Re: How to connect mysql server with custom port?(using BlueG's plugin R6_2) -
yxliang - 26.01.2013
Quote:
Originally Posted by airplanesimen
Use
pawn Code:
//wherever you have this in your script, add the port at the end. mysql_connect("localhost", "root", "database", "password", 3306);
where the port is defined at the last parameter, (3306). Good luck!
|
Can you give me the include?Mysql R6_2