Posts: 31
Threads: 7
Joined: Sep 2012
Reputation:
0
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
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
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.
Posts: 867
Threads: 104
Joined: Jul 2010
Reputation:
0
Did you start MySQL service ?
Posts: 31
Threads: 7
Joined: Sep 2012
Reputation:
0
yes i did start mysql service i even started apache service
Posts: 867
Threads: 104
Joined: Jul 2010
Reputation:
0
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.
Posts: 31
Threads: 7
Joined: Sep 2012
Reputation:
0
#define mysql_host "localhost"
#define mysql_user "root"
#define mysql_password ""
#define mysql_database "GangWar DM"
This was in my script