SA-MP Forums Archive
MySQL connect file - 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: MySQL connect file (/showthread.php?tid=665625)



MySQL connect file - KamilPolska - 11.04.2019

How to connect when the file is in a folder?
Code:
g_SQL = mysql_connect_file("../Connectmysql/mysql.ini");



Re: MySQL connect file - jasperschellekens - 11.04.2019

This thread contains everything you need to know about using mysql_connect_file correctly:
https://sampforum.blast.hk/showthread.php?tid=644891