Help with mysql - 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 mysql (
/showthread.php?tid=475990)
Help with mysql -
Meow22 - 16.11.2013
Hello,
I have a mysql script but idk how to run it in my server can someone help me it would be Appreciated.
Re: Help with mysql -
kbalor - 16.11.2013
First you must have
XAMPP to run MySQL via Localhost
Код:
#define MySQL_HOST "localhost" //To run MySQL by Home host or localhost (Do not change this)
#define MySQL_USER "root" //default phpMyAdmin username (Do not change)
#define MySQL_PASS " " //default phpMyAdmin password is empty (You will need to change it later)
#define MySQL_DB "sa-mp" //Now here is your database you have created.
Anyway, are you going to run it first by localhost or you want to put it immediate online?
Re: Help with mysql -
Meow22 - 16.11.2013
I will run it with local host first
Re: Help with mysql -
kbalor - 16.11.2013
Quote:
Originally Posted by Meow22
I will run it with local host first
|
Okay so after you already installed this XAMPP. Go to XAMPP Control Panel.
Click Start APACHE and MySQL
Then Using a browser, go to
http://localhost/ Under
Security left Panel change your password.
Now I want to ask if you have already a built in db? or are you going to make a new one?
Re: Help with mysql -
Meow22 - 16.11.2013
if I want to add it in my host so How I will?
Re: Help with mysql -
kbalor - 16.11.2013
Quote:
Originally Posted by Meow22
if I want to add it in my host so How I will?
|
Go back or (
http://localhost) then Under the Tools you can find
phpMyAdmin, On the top click
Databases, and you can find
Import somewhere over.