mysql problem - 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 problem (
/showthread.php?tid=614362)
mysql problem -
Stop - 07.08.2016
Guys I have server the game mode is mysql . The filter script is also mysql but I have only 1 mysql database so how I can use they both in 1
Re: mysql problem -
OnlYgEnyUS - 07.08.2016
Well,you could try to import both .sql files on one database.
Re: mysql problem -
[cS]Owain - 07.08.2016
Just use the same db name in mysql_connect line in both scripts?
Re: mysql problem -
OnlYgEnyUS - 07.08.2016
Quote:
Originally Posted by [cS]Owain
Just use the same db name in mysql_connect line in both scripts?
|
He got one database. He could upload both sql files to that database.
Re: mysql problem -
[cS]Owain - 07.08.2016
Quote:
Originally Posted by OnlYgEnyUS
He got one database. He could upload both sql files to that database.
|
What.
Its MySQL....
You can use one db in as many scripts as you want.
Re: mysql problem -
OnlYgEnyUS - 07.08.2016
Quote:
Originally Posted by [cS]Owain
What.
Its MySQL....
You can use one db in as many scripts as you want.
|
I know. I use MySQL. You can import as many sql files to one database if you want,and connect it to as many GameModes or filterscripts as you want.