Help with .sql - 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: Help with .sql (
/showthread.php?tid=390295)
Help with .sql -
teomakedonija - 05.11.2012
Where to put in who folder in gamemode Object.sql ?
Re: Help with .sql -
thefatshizms - 05.11.2012
It's a sql dump so you need to open phpmyadmin go to your database, select 'import' tab and find your Object.sql and upload it
Re: Help with .sql -
teomakedonija - 05.11.2012
WHAT ?!
Re: Help with .sql -
adsy - 06.11.2012
SQL is a DATABASE DUMP file that allows you to INSERT large numbers of rows and columns INTO a database.
something like this should work
mysql_query("SOURCE file.sql");
Re: Help with .sql -
Face9000 - 06.11.2012
Quote:
Originally Posted by teomakedonija
WHAT ?!
|
Open phpmyadmin, click on the database, select "Import", import the .sql file and press Ok.
Done.
Re: Help with .sql -
mamorunl - 06.11.2012
A *.sql file contains all MySQL queries needed to build a database. PHPMyAdmin is a tool that you can load up in your web browser with which you can maintain your databases. I hope that gives you a little more insight in what it is with what you are working.
PHPMyAdmin comes with the package XAMPP/WAMP/LAMP/MAMP or as a stand-alone.