SA-MP Forums Archive
MySQL (Newbie question) - 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 (Newbie question) (/showthread.php?tid=397230)



MySQL (Newbie question) - jakejohnsonusa - 03.12.2012

I have a GM that requirers MySQL. But my question is where do I get MySQL (I thought it was http://www.mysql.com/) but there were so many downloads I wasn't sure which was right.

If anyone can tell me where to get this, what it's called, and offer advice that might help me get it started that world be great!

Thanks: jakejohnsonusa


Re: MySQL (Newbie question) - tyler12 - 03.12.2012

https://sampforum.blast.hk/showthread.php?tid=122983

https://sampforum.blast.hk/showthread.php?tid=56564


Re: MySQL (Newbie question) - LarzI - 03.12.2012

Nevermind, I was too slow.


Re: MySQL (Newbie question) - jakejohnsonusa - 03.12.2012

Thanks, but I am confused. Those were plugin's... Where do I get the actual MySQL program for this?


Re: MySQL (Newbie question) - ReneG - 03.12.2012

After you've installed the plugin, install XAMPP, then using the XAMPP control panel, start Apache, and MySQL. Then, in your browser, go to localhost/phpmyadmin. That's where you'll be able to create databases/tables and alter data.

****** a tutorial, there are plenty on setting up MySQL.


Re: MySQL (Newbie question) - jakejohnsonusa - 03.12.2012

Wait so MySQL is this thing right? http://www.mysql.com/
Also what is Apache?

Thanks for the help guys!


Re: MySQL (Newbie question) - ikey07 - 03.12.2012

You need Wamp server: Download: http://www.wampserver.com/en/ for local test things, after you install it go to http://localhost/phpmyadmin/

If icon at clock keeps being orange or red, fully exit from skype or teamviewer as they all use same port

And for a public host, you will need hosting company which offers you a mysql, mostly all of companies offers it by default.


Re: MySQL (Newbie question) - jakejohnsonusa - 03.12.2012

Oh, ok so I did it and got everything done. Now I am at the http://localhost/phpmyadmin/ and have created a database. I need the following things for my GM though: mysql_host, mysql_user, mysql_password, and mysql_database . I know my database is SA_MP, but how do I find the other things?


Re: MySQL (Newbie question) - Vince - 04.12.2012

Host is localhost, username and password are the credentials you use to login to phpMyAdmin. If you didn't run the security setup then the username is root. No password.