Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 16:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Serverstart ERROR 1045 (28000)

Discussion on Serverstart ERROR 1045 (28000) within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Serverstart ERROR 1045 (28000)

Guten Tag Epvp,

anscheinend habe ich ein Fehler, sobald ich mein Server starte und mich ingame einlogge bzw die mysql_query Funktion ausgeführt wird kommt folgendes raus:

PHP Code:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwordNO
Ich habe natürlich SuFu benutzt und habe einige Beiträge durchgelesen und die Möglichkeiten ausprobiert wie:

PHP Code:
c148# mysql -uroot -hlocalhost
mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' {enter}
mysql>IDENTIFIED BY 'password' WITH GRANT OPTION; {enter}
mysql>FLUSH PRIVILEGES; {enter}
mysql>quit {enter}
c148
Vielleicht kann einer weiterhelfen ?
°Ace° is offline  
Old 05/13/2015, 17:10   #2
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
(using password: NO)

You didn't enter the password in the CONFIG (or in db conf.txt)
.Shōgun is offline  
Old 05/13/2015, 20:12   #3
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Quote:
Originally Posted by .Shōgun View Post
(using password: NO)

You didn't enter the password in the CONFIG (or in db conf.txt)
Where exactly comes out my password?

PHP Code:
SYSERRMay 13 20:29:31 :: ChildLoopAsyncSQLquery failedQuery execution was interrupted (querySELECT id,login,vnum,count,socket0,socket1,socket2,mall,why FROM item_award WHERE taken_time IS NULL errno1317)
SYSERRMay 13 20:29:41 :: ChildLoopMySQL connection was reconnectedquerying locale set
SYSERR
May 13 20:29:44 :: hupsigSIGHUPSIGINTSIGTERM signal has been receivedshutting down.
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLquery failedQuery execution was interrupted (queryUPDATE player SET job 0voice 0dir 09696162786400map_index 41exit_x 969616exit_y 278640exit_map_index 41hp 6017mp 2339stamina 820random_hp 4257random_sp 2079playtime 598level 100level_step 0st 6ht 4dx 3iq 3gold 90718997exp 30stat_point 267skill_point 99sub_skill_point 91stat_reset_count 0ip '95.91.225.244'part_main 41005part_hair 0last_play NOW(), skill_group 0alignment 2079horse_level 11horse_riding 0horse_hp 12horse_hp_droptime 1431628269horse_stamina 30horse_skill_point 0skill_level '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Lost connection to MySQL server during query (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2) VALUES(130000001, 59354, 1, 0, 1, 41006, 1432051857, 0, 0) errno: 2013)
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Can'
t connect to local MySQL server through socket '/tmp/mysql.sock' (2) (queryREPLACE INTO item (idowner_idwindowposcountvnumsocket0socket1socket2VALUES(1300000025935411141005143205186100errno2002)
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLretrying
SYSERR
May 13 20:29:44 :: ChildLoopAsyncSQLquery failedCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2) VALUES(130000002, 59354, 1, 1, 1, 41005, 1432051861, 0, 0) errno: 2002)
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: retrying
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Can'
t connect to local MySQL server through socket '/tmp/mysql.sock' (2) (queryREPLACE INTO item (idowner_idwindowposcountvnumsocket0socket1socket2VALUES(1300000025935411141005143205186100errno2002)
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLretrying
SYSERR
May 13 20:29:44 :: ChildLoopAsyncSQLquery failedCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2) VALUES(130000002, 59354, 1, 1, 1, 41005, 1432051861, 0, 0) errno: 2002)
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: retrying
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Can'
t connect to local MySQL server through socket '/tmp/mysql.sock' (2) (queryREPLACE INTO item (idowner_idwindowposcountvnumsocket0socket1socket2VALUES(1300000025935411141005143205186100errno2002)
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLretrying
SYSERR
May 13 20:29:44 :: ChildLoopAsyncSQLquery failedCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2) VALUES(130000002, 59354, 1, 1, 1, 41005, 1432051861, 0, 0) errno: 2002)
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: retrying
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Can'
t connect to local MySQL server through socket '/tmp/mysql.sock' (2) (queryREPLACE INTO item (idowner_idwindowposcountvnumsocket0socket1socket2VALUES(1300000025935411141005143205186100errno2002)
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLretrying
SYSERR
May 13 20:29:44 :: ChildLoopAsyncSQLquery failedCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2) VALUES(130000002, 59354, 1, 1, 1, 41005, 1432051861, 0, 0) errno: 2002)
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: retrying
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Can'
t connect to local MySQL server through socket '/tmp/mysql.sock' (2) (queryREPLACE INTO item (idowner_idwindowposcountvnumsocket0socket1socket2VALUES(1300000025935411141005143205186100errno2002)
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLretrying
SYSERR
May 13 20:29:44 :: ChildLoopAsyncSQLquery failedCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2) VALUES(130000002, 59354, 1, 1, 1, 41005, 1432051861, 0, 0) errno: 2002)
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: retrying
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Can'
t connect to local MySQL server through socket '/tmp/mysql.sock' (2) (queryREPLACE INTO item (idowner_idwindowposcountvnumsocket0socket1socket2VALUES(1300000025935411141005143205186100errno2002)
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLretrying
SYSERR
May 13 20:29:44 :: ChildLoopAsyncSQLquery failedCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2) VALUES(130000002, 59354, 1, 1, 1, 41005, 1432051861, 0, 0) errno: 2002)
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: retrying
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Can'
t connect to local MySQL server through socket '/tmp/mysql.sock' (2) (queryREPLACE INTO item (idowner_idwindowposcountvnumsocket0socket1socket2VALUES(1300000025935411141005143205186100errno2002)
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLretrying
SYSERR
May 13 20:29:44 :: ChildLoopAsyncSQLquery failedCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2) VALUES(130000002, 59354, 1, 1, 1, 41005, 1432051861, 0, 0) errno: 2002)
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: retrying
SYSERR: May 13 20:29:44 :: ChildLoop: AsyncSQL: query failed: Can'
t connect to local MySQL server through socket '/tmp/mysql.sock' (2) (queryREPLACE INTO item (idowner_idwindowposcountvnumsocket0socket1socket2VALUES(1300000025935411141005143205186100errno2002)
SYSERRMay 13 20:29:44 :: ChildLoopAsyncSQLretrying
SYSERR
May 13 20:29:44 :: pid_deinit
End of pid

SYSERR
May 13 20:31:20 :: pid_init
Start of pid720

SYSERR
May 13 20:31:20 :: StartTABLE_POSTFIX not configured use default
SYSERRMay 13 20:31:21 :: Load:  DirectQuery failed(SELECT login FROM block_exception)
SYSERRMay 13 20:31:27 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:31:29 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:31:34 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:31:39 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:31:42 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:31:47 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:31:52 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:31:57 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:32:02 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost)
SYSERRMay 13 20:32:07 :: __GetHostInfo__GetHostInfo() ==> DirectQuery failed(SELECT mIP FROM gmhost
°Ace° is offline  
Old 05/14/2015, 07:25   #4
 
elite*gold: 0
Join Date: May 2010
Posts: 455
Received Thanks: 67
reinstall mysql and unpack the mysql.tar.gz
Shimao is offline  
Old 05/14/2015, 12:24   #5

 
.yorliK's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 1,448
Received Thanks: 1,257
Zusatzinfo:
Zuerst kam der Error beim benutzen der mysql_query Funktion, er hat schon in einigen Threads gesehen das er in den Configs das mysql Passwort für einen Account in der mysql -> user Tabelle angeben muss. Die Frage ist wo in der Config?

additional info:
First time, the error occurs when using the mysql_query function, in some threads they said he must add a MySQL password in the configs of an account in the mysql -> user table. The question is where he have to put the password in the configs?
.yorliK is offline  
Thanks
1 User
Old 05/14/2015, 13:57   #6
 
Azμre's Avatar
 
elite*gold: 25
Join Date: Apr 2015
Posts: 23
Received Thanks: 21
Die Config Datei befindet sich in jedem Core und im Ordner vom Database-Cache.

Verzeichnisse die bei standard Files oft verwendet werden: /usr/home/game/channel1/CONFIG
/usr/home/game/g1/db/conf.txt

Da ist scheinbar kein Passwort eingetragen.
Azμre is offline  
Thanks
1 User
Old 05/14/2015, 14:12   #7
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Quote:
Originally Posted by Leyrox View Post
Die Config Datei befindet sich in jedem Core und im Ordner vom Database-Cache.

Verzeichnisse die bei standard Files oft verwendet werden: /usr/home/game/channel1/CONFIG
/usr/home/game/g1/db/conf.txt

Da ist scheinbar kein Passwort eingetragen.
Danke für die Antwort, die Frage ist wieder rum wo genau wird den das Passwort eingetragen ?!
°Ace° is offline  
Old 05/14/2015, 14:22   #8
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
In CONFIG (all of them)

Code:
COMMON_SQL: 127.0.0.1 root PASSWORD common
LOG_SQL: 127.0.0.1 root PASSWORD log
PLAYER_SQL: 127.0.0.1 root PASSWORD player
Additionally, in CONFIG (auth)

Code:
ACCOUNT_SQL: 127.0.0.1 root PASSWORD account
In conf.txt (db core)

Code:
SQL_ACCOUNT = "127.0.0.1 account root PASSWORD 0"
SQL_COMMON = "127.0.0.1 common root PASSWORD 0"
SQL_HOTBACKUP = "127.0.0.1 hotbackup root PASSWORD 0"
SQL_PLAYER = "127.0.0.1 player root PASSWORD 0"
.Shōgun is offline  
Thanks
2 Users
Old 05/14/2015, 17:39   #9
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Quote:
Originally Posted by .Shōgun View Post
In CONFIG (all of them)

Code:
COMMON_SQL: 127.0.0.1 root PASSWORD common
LOG_SQL: 127.0.0.1 root PASSWORD log
PLAYER_SQL: 127.0.0.1 root PASSWORD player
Additionally, in CONFIG (auth)

Code:
ACCOUNT_SQL: 127.0.0.1 root PASSWORD account
In conf.txt (db core)

Code:
SQL_ACCOUNT = "127.0.0.1 account root PASSWORD 0"
SQL_COMMON = "127.0.0.1 common root PASSWORD 0"
SQL_HOTBACKUP = "127.0.0.1 hotbackup root PASSWORD 0"
SQL_PLAYER = "127.0.0.1 player root PASSWORD 0"
And what is with DB_ADDR: localhost ?
I got it debugged, but does not work

Syserr:

PHP Code:
SYSERRMay 14 18:04:13 :: StartTABLE_POSTFIX not configured use default
SYSERRMay 14 18:04:14 :: Load:  DirectQuery failed(SELECT login FROM block_exception)
SYSERRMay 14 18:04:59 :: __GetAdminInfo__GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='MEINE IP STEHT HIER'
°Ace° is offline  
Old 05/14/2015, 18:19   #10
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
What does not work? Those errors are normal and harmless
.Shōgun is offline  
Old 05/14/2015, 18:33   #11
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Quote:
Originally Posted by .Shōgun View Post
What does not work? Those errors are normal and harmless
I have in the config which entered what you mean, but it still does not work?

PHP Code:
 mysqlambiguous option '--e=SELECT money from player.ah_money WHERE player_id = 59360;' (enable_cleartext_pluginexecute)
mysqlambiguous option '--e=SELECT * from player.ah_item WHERE player_id != 59360 ORDER BY auction_id DESC LIMIT 100;' (enable_cleartext_pluginexecute
°Ace° is offline  
Old 05/14/2015, 20:48   #12
wild wild son




 
Nick's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 5,996
Received Thanks: 3,391
Quote:
Originally Posted by °Ace° View Post
I have in the config which entered what you mean, but it still does not work?

PHP Code:
 mysqlambiguous option '--e=SELECT money from player.ah_money WHERE player_id = 59360;' (enable_cleartext_pluginexecute)
mysqlambiguous option '--e=SELECT * from player.ah_item WHERE player_id != 59360 ORDER BY auction_id DESC LIMIT 100;' (enable_cleartext_pluginexecute
Code:
--e
durch

Code:
-e
ersetzen, da scheinbar eine MySQL-Version >5.1 in Verwendung ist.

lg
Nick is offline  
Old 05/14/2015, 20:50   #13
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Quote:
Originally Posted by .JayZoN View Post
Code:
--e
durch

Code:
-e
ersetzen, da scheinbar eine MySQL-Version >5.1 in Verwendung ist.

lg
Mein Mysql hab ich nach den TuT installiert:


Die Frage ist, in welcher Datei änder ich die --e zu -e, in welcher questlib ?
°Ace° is offline  
Old 05/14/2015, 21:40   #14
wild wild son




 
Nick's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 5,996
Received Thanks: 3,391
/fixed

Mehrere Erweiterungen (Extensions) waren in Verwendung, wo u.a. auch die mysql_query() - Funktion enthalten war, allerdings in veralteter Form. Künftig also sichergehen, ob die Funktion auch dementsprechend aktuell ist, im Idealfall sollte die Funktion auch nur einmal enthalten sein - da hierbei mehrere Extensions mit der besagten Funktion inkludiert waren, ging auch die Übersicht flöten. (closerequested)

lg
Nick is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
01/23/2015 - Metin2 Private Server - 6 Replies
Moin, habe ganz normal an meinem Server gebastelt und dann machte ich ein reboot und seitdem : ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) HABE SCHON ALLE PROBIERT :( P.s benutze die Daroo Files
ERROR 1045
07/10/2014 - Metin2 Private Server - 2 Replies
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Error 1045 bitte um Hilfe
01/13/2012 - Metin2 Private Server - 11 Replies
Hallo ich bräuchte unbedingt Hilfe und zwar kommt bei mir in Putty immer wieder dieser Fehler (siehe Anhang),und das irgendwie immer wenn ich mit meinen GM Char irgendwas mache also sprich Porte oder sonstiges.



All times are GMT +1. The time now is 16:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.