----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[15:30:13] hostname = "SA-MP Server" (string)
[15:30:13] weburl = "www.sa-mp.com" (string)
[15:30:13]
[15:30:13] Server Plugins
[15:30:13] --------------
[15:30:13] Loading plugin: streamer.dll
[15:30:13]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[15:30:13] Loaded.
[15:30:13] Loading plugin: mysql.dll
[15:30:13]
> MySQL plugin R5 successfully loaded.
[15:30:13] Loaded.
[15:30:13] Loading plugin: crashdetect.dll
[15:30:13] CrashDetect v4.18.1 is OK.
[15:30:13] Loaded.
[15:30:13] Loaded 3 plugins.
[15:30:13]
[15:30:13] Ban list
[15:30:13] --------
[15:30:13] Loaded: samp.ban
[15:30:13]
[15:30:13]
[15:30:13] Filterscripts
[15:30:13] ---------------
[15:30:13] Loading filterscript 'Junkbuster.amx'...
[15:30:13] [junkbuster] Loading JunkBuster...
[15:30:13]
[15:30:13] [junkbuster] Current JunkBuster configuration:
[15:30:13] [junkbuster] - WeaponHack = 1
[15:30:13] [junkbuster] - MoneyHack = 1
[15:30:13] [junkbuster] - Jetpack = 1
[15:30:13] [junkbuster] - HealthHack = 1
[15:30:13] [junkbuster] - ArmourHack = 1
[15:30:13] [junkbuster] - DriveBy = 0
[15:30:13] [junkbuster] - Spam = 1
[15:30:13] [junkbuster] - CommandSpam = 1
[15:30:13] [junkbuster] - BadWords = 1
[15:30:13] [junkbuster] - CarJackHack = 1
[15:30:13] [junkbuster] - TeleportHack = 1
[15:30:13] [junkbuster] - MaxPing = 700
[15:30:13] [junkbuster] - SpectateHack = 1
[15:30:13] [junkbuster] - Blacklist = 1
[15:30:13] [junkbuster] - IpBans = 1
[15:30:13] [junkbuster] - TempBans = 1
[15:30:13] [junkbuster] - SpawnKill = 3
[15:30:13] [junkbuster] - CapsLock = 0
[15:30:13] [junkbuster] - 3DSpeed = 0
[15:30:13] [junkbuster] - MaxSpeed = 230
[15:30:13] [junkbuster] - AdminImmunity = 1
[15:30:13] [junkbuster] - Advertisement = 0
[15:30:13] [junkbuster] - FreezeUpdate = 0
[15:30:13] [junkbuster] - SpawnTime = 10
[15:30:13] [junkbuster] - CheckpointTeleport = 1
[15:30:13] [junkbuster] - Airbrake = 150
[15:30:13] [junkbuster] - TankMode = 0
[15:30:13] [junkbuster] - WarnPlayers = 1
[15:30:13] [junkbuster] - SingleplayerCheats = 1
[15:30:13] [junkbuster] - MinFPS = 3
[15:30:13] [junkbuster] - DisableBadWeapons = 1
[15:30:13] [junkbuster] - CBug = 0
[15:30:13] [junkbuster] - AntiBugKill = 1
[15:30:13] [junkbuster] - NoReload = 30
[15:30:13] [junkbuster] - NoReloadForSawnOff = 4
[15:30:13] [junkbuster] - ActiveGMC = 2
[15:30:13] [junkbuster] - GMCBan = 0
[15:30:13] [junkbuster] - ServerSideHealth = 1
[15:30:13] [junkbuster] - CheckVMPos = 0
[15:30:13] [junkbuster] - QuickTurn = 0
[15:30:13] [junkbuster] - VehicleTeleport = 1
[15:30:13] [junkbuster] - Wallride = 0
[15:30:13] [junkbuster] - DisplayTextDraw = 1
[15:30:13] [junkbuster] - AFK = 0
[15:30:13] [junkbuster] - PickupTeleport = 1
[15:30:13] [junkbuster] - FlyHack = 20
[15:30:13] [junkbuster] - JunkBusterChrome = 1
[15:30:13] [junkbuster] - CheckWalkAnims = 1
[15:30:13] [junkbuster] - ReportMoneyHack = 1
[15:30:13] [junkbuster] - SpeedhackAdvanced = 30
[15:30:13] [junkbuster] - Joypad = 2
[15:30:13] [junkbuster] - ArmedVehicles = 0
[15:30:13] [junkbuster] - VehicleRepair = 0
[15:30:13] [junkbuster] - TuningHack = 0
[15:30:13] [junkbuster] - PayForGuns = 1
[15:30:13] [junkbuster] - SpawnVehicles = 0
[15:30:13] [junkbuster] - MaxTotalWarnings = 15
[15:30:13] [junkbuster] - TooManyWarningsAction = 1
[15:30:13] [junkbuster] - AirbrakeDetection = 1
[15:30:13] [junkbuster] - SpeedhackDetection = 1
[15:30:13]
[15:30:13] [junkbuster] 0 IP-bans have been loaded.
[15:30:13] [junkbuster] 0 temporary bans have been loaded.
[15:30:13] [junkbuster] 0 whitelist entries have been loaded.
[15:30:13] [junkbuster] 5 blacklist entries have been loaded.
[15:30:13] [junkbuster] 45 bad words have been loaded.
[15:30:13] [junkbuster] 4 forbidden weapons have been loaded.
[15:30:13] [junkbuster] JunkBuster has been configurated.
[15:30:13] [junkbuster] JunkBuster (v11) has successfully been loaded.
[15:30:13] Loading filterscript 'DT_DynamicCar.amx'...
[15:30:14]
[15:30:14] -------- www.dark-trigardon.eu --------
[15:30:14] [FS]DT_DynamicCar by [DT]Sniper
[15:30:14] V.: 1.3.6
[15:30:14] ---------------------------------------
[15:30:15] Loaded 2 filterscripts.
[15:30:16] <-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!
[15:30:16] <-| [MYSQL] Es wird erneut versucht eine Verbindung zur Datenbank herzustellen!
[15:30:17] <-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!
[15:30:17] <-| [MYSQL] Der Server wird nun beendet!
[15:30:17] '102' Fraktionsfahrzeuge wurden geladen & erstellt.
[15:30:17] Pickups Max = 2048, Current Pickups = 456
[15:30:17] _______________________________________
[15:30:17] Das Script wurde Vollständig geladen!
[15:30:17] German Reallife: LS/SF/LV
[15:30:17] _______________________________________
[15:30:17]
[15:30:17] Number of vehicle models: 72
[15:30:17] --- Server Shutting Down.
[15:30:17] [junkbuster] Resetting player classes.
[15:30:17]
*** Streamer Plugin v2.6.1 by Incognito unloaded ***
[15:30:17]
> MySQL plugin unloaded.
Alles anzeigen
Hallo ich habe das Problem das MySQL sich nicht verbinden will ka warum alles auf localhost probiert und auch auf mein vserver.
a_mysql.inc (R5) MySQL.dll (R5)
//=========================================|
#define SQL_HOST "127.0.0.1" //||<<||
#define SQL_USER "root" //||<<||
#define SQL_PASS "" //||<<||
#define SQL_DATA "gor" //||<<||
//=========================================|
stock Connect_To_Database()
{
mysql_connect(SQL_HOST, SQL_USER, SQL_DATA, SQL_PASS); //Wir versuchen mit den Angaben die wir oben im Script gemacht haben uns mit dem MySQL Server zu verbinden.
if(mysql_ping() == 1) //Es wird überprüft ob die Verbindung steht.
{
//Falls ja wird das in die Console geschrieben und die Funktion wird beendet.
print("<-| [MYSQL] Verbindung zur Datenbank wurde erfolgreich hergestellt!");
return true;
}
else
{
//Falls nicht wird erneut versucht eine verbindung aufzubauen.
print("<-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!");
print("<-| [MYSQL] Es wird erneut versucht eine Verbindung zur Datenbank herzustellen!");
mysql_connect(SQL_HOST, SQL_USER, SQL_DATA, SQL_PASS);
if(mysql_ping() == 1)
{
print("<-| [MYSQL] Es konnte im 2 Versuch eine Verbindung hergestellt werden!");
return true;
}
else
{
//Falls das auch nicht Funktioniert wird der Server zur Sicherheit wieder heruntergefahren.
print("<-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!");
print("<-| [MYSQL] Der Server wird nun beendet!");
SendRconCommand("exit");
return true;
}
}
}
//edit
Alles über xampp