Jump to content

Access denied for user 'mt2'@'localhost'


Recommended Posts

I receive this error when I try to make a metin2 server with all serverfiles.

Quote

retrying in 5 secondsmysql_real_connect: Access denied for user 'mt2'@'localhost' (using password: YES)

 

 

I'm beginner !

 

I want to make a metin2 server only for me :) on my pc.

If you want to help me add skype: cojocaru_dragos2010 or pm me or leave a reply with instructions.. :)

 

Thanks in advance !

 
  • Love 2
Link to comment
Share on other sites

  • Bronze

do this :

first open the config file on the db (or any ch) :

you will find a line like this :

PLAYER_SQL: localhost metin2 password player

open mysql one ssh :

mysql -p

write the password :

then

GRANT ALL PRIVILEGES ON *.* TO 'metin2'@'localhost'
IDENTIFIED BY 'password' WITH GRANT OPTION;

change 'password' with the password you have on the config file thats all.

it should work

info :

to exit mysql on ssh use :

quit
  • Metin2 Dev 1
  • Love 2
Link to comment
Share on other sites

I tried with Pasha37 Windows Server Files 1.2 but I didn't find any db or any ch file that contain a line like 

PLAYER_SQL: localhost metin2 password player

:(

 

and i receive the same error.

 

Let me note that I did not open any port/s..

 

 

EDIT: I found in D:Server_MT2SFWindowsdb and file "conf.txt" which contain these lines:

SQL_ACCOUNT = "localhost account mt2 yolo 0"
SQL_PLAYER = "localhost player mt2 yolo 0"
SQL_COMMON = "localhost common mt2 yolo 0"
SQL_HOTBACKUP = "localhost hotbackup mt2 yolo 0"

What should I do ?
 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.