[Problem]MySQL Fehler - Yasumari Files

10/18/2013 21:42 ηєχσ™#1
Nabend Leute,

folgender Fehler kommt bei den Yasumari Files, wenn man den Server starten möchte:

PHP Code:
mysql_real_connectAccess denied for user 'mt2'@'localhost' (using passwordYES)
cannot open direct sql connection to hostlocalhost usermt2 dbcommon
cannot start server 
while no common sql connected
mysql_real_connect
Access denied for user 'mt2'@'localhost' (using passwordYES)
   
failedretrying in 5 secondsmysql_real_connectAccess denied for user 'mt2'@'localhost' (using passwordYES)
   
failedretrying in 5 secondsmysql_real_connectAccess denied for user 'mt2'@'localhost' (using passwordYES)
   
failedretrying in 5 secondsmysql_real_connectAccess denied for user 'mt2'@'localhost' (using passwordYES)
   
failedretrying in 5 secondsSuccess PLAYER
mysql_real_connect
Access denied for user 'mt2'@'localhost' (using passwordYES)
   
failedretrying in 5 secondsmysql_real_connectAccess denied for user 'mt2'@'localhost' (using passwordYES)
   
failedretrying in 5 secondsmysql_real_connectAccess denied for user 'mt2'@'localhost' (using passwordYES)
   
failedretrying in 5 secondsmysql_real_connectAccess denied for user 'mt2'@'localhost' (using passwordYES
Könnt ihr helfen?
10/18/2013 22:04 deltous'fabius#2
ja. du musst den Mysql-User mt2 anpassen
Schau in deinen Configs nach welchen user die brauch und dann richte dir den halt ein
10/18/2013 22:13 ηєχσ™#3
PHP Code:
HOSTNAMEauth
CHANNEL
1
PORT
11002
P2P_PORT
65100
DB_PORT
15000
DB_ADDR
localhost
TABLE_POSTFIX
:
ITEM_ID_RANGE000000001 000000002
PASSES_PER_SEC
25
SAVE_EVENT_SECOND_CYCLE
180
PING_EVENT_SECOND_CYCLE
180
AUTH_SERVER
master
PLAYER_SQL
localhost mt2 mt2pw account
COMMON_SQL
localhost mt2 mt2pw common
LOG_SQL
localhost mt2 mt2pw log
LOCALE_SERVICE
GERMANY
adminpage_ip0
178.63.145.28
adminpage_password
SHOWMETHEMONEY 
Ich nehme an, ich muss nun bei PLAYER_SQL und COMMON_SQL was ändern. Müssen da die Datenbank daten hin anstatt das mt2 und mt2pw?
10/18/2013 22:40 deltous'fabius#4
ja du erstellst einen user:

GRANT ALL PRIVILEGES ON *.* TO 'mt2'@'localhost'
IDENTIFIED BY 'mt2pw' WITH GRANT OPTION;

Also einen user:
Host: localhost
User: mt2
Password: mt2pw <- musste halt hashen

alle rechte alt und es geht!
10/19/2013 00:02 Coniesan#5
Quote:
IDENTIFIED BY 'mt2pw' WITH GRANT OPTION;
OMG wer hat dir ins Hirn ************ xD gib NIEMALS einem Acc Grant Rechte, welcher es nicht wirklich zu 100% braucht Oo Alles Andere ist "fahrlässig dumm" (Zitat by Tim66613)
10/19/2013 00:32 Marme.##6
Du kannst mich auch gerne in Skype adden, dort kann ich dir dann auch helfen.
10/19/2013 16:18 ηєχσ™#7
Nun taucht folgendes Problem auf, dass egal ob die Daten richtig sind, er mir sagt das der Accountname oder das Passwort falsch ist, obwohl ich alles zu 100% richtig eingegeben habe.
10/20/2013 06:45 deltous'fabius#8
Quote:
Originally Posted by Coniesan View Post
OMG wer hat dir ins Hirn ************ xD gib NIEMALS einem Acc Grant Rechte, welcher es nicht wirklich zu 100% braucht Oo Alles Andere ist "fahrlässig dumm" (Zitat by Tim66613)
Da muss ich dir Recht geben.
Ich weiß aber nicht zu 100% welche Rechte der locale User haben darf.

b2t: Poste mal deine Syserr von der db.
Ich tippe jetz schon auf Connection Fehler.
10/20/2013 11:01 ηєχσ™#9
Syserr ab gestern: