Hallo Brotfische,
Ich habe folgendes Problem, der Server bekommt keine Verbindung zur Datenbank.
mysql_log:
[12:20:46] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp_benutzer'@'localhost' (using password: YES)
[12:20:46] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp_benutzer'@'localhost' (using password: YES)
[12:20:46] [ERROR] CMySQLQuery::Execute[OnHausesLoad()] - (error #2006) MySQL server has gone away
[12:20:46] [WARNING] CMySQLQuery::Execute[OnHausesLoad()] - lost connection, reconnecting..
[12:20:46] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp_benutzer'@'localhost' (using password: YES)
[12:20:46] [ERROR] CMySQLQuery::Execute[OnTorLoad()] - (error #2006) MySQL server has gone away
[12:20:46] [WARNING] CMySQLQuery::Execute[OnTorLoad()] - lost connection, reconnecting..
[12:20:46] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp_benutzer'@'localhost' (using password: YES)
[12:20:46] [ERROR] CMySQLQuery::Execute[OnBizLoad()] - (error #2006) MySQL server has gone away
[12:20:46] [WARNING] CMySQLQuery::Execute[OnBizLoad()] - lost connection, reconnecting..
[12:20:46] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp_benutzer'@'localhost' (using password: YES)
[12:20:46] [ERROR] CMySQLQuery::Execute[OnSprunkAutomatLoad()] - (error #2006) MySQL server has gone away
[12:20:46] [WARNING] CMySQLQuery::Execute[OnSprunkAutomatLoad()] - lost connection, reconnecting..
[12:20:46] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp_benutzer'@'localhost' (using password: YES)
[12:20:46] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[12:20:46] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[12:20:46] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp_benutzer'@'localhost' (using password: YES)
[12:20:46] [ERROR] CMySQLQuery::Execute[LoadFracVehicles_Data()] - (error #2006) MySQL server has gone away
[12:20:46] [WARNING] CMySQLQuery::Execute[LoadFracVehicles_Data()] - lost connection, reconnecting..
[12:20:46] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp_benutzer'@'localhost' (using password: YES)
Script:
#define db_host "127.0.0.1" //Habe es auch schon mit localhost probiert, geht aber auch nicht.
#define db_user "samp_benutzer"
#define db_pass "lalalalala"
#define db_db "samp_db"
OnGameModeInit:
dbhandle = mysql_connect(db_host,db_user,db_db,db_pass);
Ich hoffe es kann mir jemand helfen
Mfg