SA-MP Forums Archive
MySQL 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 Question! (/showthread.php?tid=471849)



MySQL Question! - hewittpro - 25.10.2013

Hey guys I just took on a new project and the script is in MySQL which is new to me. I'm a quick learner but I just need to get started, witch is the problem. Is there a way to start a MySQL database for free? Like I don't have to use a web host if I'm just testing on my own computer. Is there a way to start a local MySQL database for free? Even if you guys just shoot me a link or something anything would be great help THANK YOU.


Re: MySQL Question! - Wizzy951 - 25.10.2013

Download XAMPP and install it.


Re: MySQL Question! - hewittpro - 25.10.2013

Thank you so much!!!!!!


Re: MySQL Question! - rickisme - 25.10.2013

http://dev.mysql.com/downloads/

it's free


Re: MySQL Question! - hewittpro - 25.10.2013

Do I use PHPMyAdmin after I load XAMPP Thanks again Guys!


Re: MySQL Question! - Wizzy951 - 25.10.2013

You have to turn on Apache and MySQL from the XAMPP control panel,
after that click on Admin so it will open up the localhost, first I suggest you to change the password so go to Security
change the password, re-open the localhost go to phpMyAdmin and login with your password.


Re: MySQL Question! - hewittpro - 25.10.2013

Awsome!!!! Okay I got that done, Once I've created password and the user as root, I've logged in. Do I go to my server folder and then scriptfiles then open mysql. Do I just change the Hostname|Database|Username|Password to my information? Thanks Wizzy!!


Re: MySQL Question! - Wizzy951 - 25.10.2013

Quote:
Originally Posted by hewittpro
Посмотреть сообщение
Awsome!!!! Okay I got that done, Once I've created password and the user as root, I've logged in. Do I go to my server folder and then scriptfiles then open mysql. Do I just change the Hostname|Database|Username|Password to my information? Thanks Wizzy!!
Yes you have to do it, but before that you need to create the database.


Re: MySQL Question! - hewittpro - 25.10.2013

I'm really sorry to keep asking questions. Okay do I need to go into the .pwn to find what I need to add to the database? And I'll also have to create a table? I know its a broad question so if you don't feel like explaining thats okay haha. Do I just need to create 1 database generalized like " badass stunting server " Or is it like "Members","Money","health" sort of thing?