SA-MP Forums Archive
Is it possible to connect to mysql server using a homehost? - 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: Is it possible to connect to mysql server using a homehost? (/showthread.php?tid=479504)



Is it possible to connect to mysql server using a homehost? - Wizza - 05.12.2013

Well is it? if it is tell me how please.


Re: Is it possible to connect to mysql server using a homehost? - Jankingston - 05.12.2013

yea u can, download wamp
and turn it on
and remember that wamp's icon is green in color..

and use this credentials : username : root
database : leave it :P
hostname : localhost or 127.0.0.1
password : leave it or write none


Re: Is it possible to connect to mysql server using a homehost? - Wizza - 05.12.2013

Dosent work.. it gives me an error
pawn Код:
Could not execute menu item (internal error)



Re: Is it possible to connect to mysql server using a homehost? - Konstantinos - 05.12.2013

It does work, I've tried it in the past.

****** the error and you'll get your answer (I found how to fix it in less than a minute).


Re: Is it possible to connect to mysql server using a homehost? - batonsa - 05.12.2013

Give me your Skype and i can brief you step by step on either WAMP or XAMPP.


Re: Is it possible to connect to mysql server using a homehost? - Wizza - 05.12.2013

Whats the use to ****** it if you have the answer if your not here to help dont reply.


Re: Is it possible to connect to mysql server using a homehost? - Wizza - 05.12.2013

It works now its green but when i open my sa-mp server it still says [MySQL] Could not connect to the MySQL server.


Re: Is it possible to connect to mysql server using a homehost? - batonsa - 05.12.2013

Are your MySQL credientials included in the gamemode or in a separate file?
Your host is 'localhost', your password is blank, your username is 'root', and your database is the one you created.

Have you created a database via http://localhost/phpmyadmin ?


Re: Is it possible to connect to mysql server using a homehost? - Jonesy96 - 05.12.2013

Have you put your database into phpmyadmin on wanp? Have you got your connection details correct?


Re: Is it possible to connect to mysql server using a homehost? - Wizza - 05.12.2013

how do i create a database in http://localhost/phpmyadmin?