MySQL HeLP - 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 HeLP (
/showthread.php?tid=419751)
MySQL HeLP -
Viper_swipe - 02.03.2013
I have downloaded xampp for mysql i start it then i start samp-server.exe
It comes:[MYSQL] Coneection with database: Connection has failed
Plz help me by teamviewer
Re: MySQL HeLP -
JaKe Elite - 02.03.2013
Did you make sure that you create the database? Or something like that?
That is define on MySQL script. Also enable the debug function in order to see what's the problem.
Re: MySQL HeLP -
CoaPsyFactor - 02.03.2013
Did you start MySQL service ?
Re: MySQL HeLP -
Viper_swipe - 02.03.2013
yes i did start mysql service i even started apache service
Re: MySQL HeLP -
CoaPsyFactor - 02.03.2013
hmm, do you connect with right username and password? if not, then change your username to root and password leave blank that is default mysql user.
Re: MySQL HeLP -
Viper_swipe - 02.03.2013
Quote:
Originally Posted by Romel
Did you make sure that you create the database? Or something like that?
That is define on MySQL script. Also enable the debug function in order to see what's the problem.
|
I dont how to create a database and how to enable debug function
Re: MySQL HeLP -
Viper_swipe - 02.03.2013
#define mysql_host "localhost"
#define mysql_user "root"
#define mysql_password ""
#define mysql_database "GangWar DM"
This was in my script