Mysql DB issue - 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 DB issue (
/showthread.php?tid=468410)
Mysql DB issue -
SsHady - 08.10.2013
I've been scripting/learning Mysql lately I've scripted a few basic things and To check Them I've download WAMP server and created a DB
But when i Opened samp_Server.exe it showed me this
Код:
SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team
[22:22:51] filterscripts = "" (string)
[22:22:51]
[22:22:51] Server Plugins
[22:22:51] --------------
[22:22:51] Loading plugin: mysql
[22:22:51] SA:MP MySQL Plugin v2.1.1 Loaded.
[22:22:51] Loaded.
[22:22:51] Loading plugin: sscanf
[22:22:51]
[22:22:51] ===============================
[22:22:51] sscanf plugin loaded.
[22:22:51] Version: 2.8.1
[22:22:51] © 2012 Alex "******" Cole
[22:22:51] ===============================
[22:22:51] Loaded.
[22:22:51] Loaded 2 plugins.
[22:22:51] [MySQL] Thread running. Threadsafe: Yes.
[22:22:51]
[22:22:51] Filterscripts
[22:22:51] ---------------
[22:22:51] Loaded 0 filterscripts.
[22:22:51] [MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
[22:22:51]
----------------------------------
[22:22:51] Blank Gamemode by your name here
[22:22:51] ----------------------------------
[22:22:51] Number of vehicle models: 0
Re: Mysql DB issue -
Jankingston - 08.10.2013
show us the script lines where the mysql Hosts exist
Re: Mysql DB issue -
brawrr - 08.10.2013
check ur login and password of bd in gamemode
Re: Mysql DB issue -
SsHady - 08.10.2013
There you go sir,
pawn Код:
#define mysql_host "localhost" //your destination server
#define mysql_user "root" //default user name of wampserver
#define mysql_password "" //wampserver has no default password unless you have set one.
#define mysql_database "sa-mpsql"//the name of your database
Re: Mysql DB issue -
brawrr - 08.10.2013
try to set password for db, edit it on gm and try again
Re: Mysql DB issue -
SsHady - 08.10.2013
I've uninstalled WAMP and tried XAMPP instead but still its showing me that error :/