MySQL - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MySQL (
/showthread.php?tid=477563)
MySQL -
Zloobe - 24.11.2013
So i wonder if there is anyway i can use my localhost on a hosted server to connect, i need to fill this format:
HOST=
DB=
USER=
PASS=
And if i can, what should i put as host? i cannot put "localhost" there as then i need to host the GM on my own Computer :S
Re: MySQL -
StuartD - 24.11.2013
Are you using something like WAMP or something similar? If yes then it would be localhost as the Host.
Re: MySQL -
Zloobe - 24.11.2013
i am using EasyPHP, but as its hosted on a hosting site shoulden't it be something else as localhost is when i host it on my home Computer?
Re: MySQL -
StuartD - 24.11.2013
What is the site you use to connect to the phpmyadmin?
Re: MySQL -
Zloobe - 24.11.2013
Something like this "http://127.0.0.1/phpmyadmin"
Re: MySQL -
Zloobe - 24.11.2013
I host the SAMP server on a hosting site that doesent have MySQL support thingy, so i need to host the MySQL myself, but how do i connect to it from the host to my computer? should i use my IP or something?
Re: MySQL -
linuxthefish - 24.11.2013
You need to specify the MySQL details your web or game host has given you, then put the hostname/ip in place of where you normally specify "localhost".
If you don't have a MySQL database and your server is hosted close to the UK i can give you one for free, otherwise
http://www.freemysql.net/
Is this what you want to do