Register for your free account! | Forgot your password?

You last visited: Today at 02:16

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

Advertisement



Mysql Problem

Discussion on Mysql Problem within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
x"Kazuki's Avatar
 
elite*gold: 50
Join Date: Aug 2014
Posts: 508
Received Thanks: 201
Mysql Problem

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


Hilfe ._.
x"Kazuki is offline  
Old 01/20/2015, 17:37   #2

 
Jinbei's Avatar
 
elite*gold: 101
Join Date: Mar 2013
Posts: 13,366
Received Thanks: 2,748
MySQL-Daten in den CONFIGS angepasst?
Jinbei is offline  
Old 01/20/2015, 17:40   #3
 
Yiv's Avatar
 
elite*gold: 47
Join Date: Feb 2012
Posts: 2,282
Received Thanks: 2,579
Der User mt2 existiert nicht bzw. hat ein anderes Passwort.

Guck mal in deine CONFIGs, da steht immer der User + Passwort drin, bspw. bei dieser Option:
Code:
PLAYER_SQL
Diese ist dann folgendermaßen aufgebaut:
Code:
PLAYER_SQL: MYSQL_HOST MYSQL_USER MYSQL_PASSWORD MYSQL_DATABASE
In diesem Beispiel wäre der User MYSQL_USER und das Passwort MYSQL_PASSWORT. Mit diesen Daten wird auf den MySQL-Server, der über MYSQL_HOST erreichbar ist (standardmäßig eig. localhost) auf die Datenbank MYSQL_DATABASE (normalerweise bei der PLAYER_SQL Option player) verbunden.

Nun müsste man also einen MySQL-User (über Navicat das 2. von oben links) erstellen mit den Daten MYSQL_USER und MYSQL_PASSWORD. Bei dir also mt2 und das darauffolgende Passwort.

MfG
Yiv is offline  
Old 01/21/2015, 12:58   #4
 
x"Kazuki's Avatar
 
elite*gold: 50
Join Date: Aug 2014
Posts: 508
Received Thanks: 201
PLAYER_SQL: localhost mt2 mt2!@# Serveraccount

Das steht in den Config´s

D.h.

localhost = MYSQL_HOST
mt2 = MYSQL_USER
2. mt2 = MYSQL_PASSWPRT
!@# = MYSQL_SERVER ?!?


Problem ist nur das er ja gar nicht mit Navicat verbindet.

Mit freundlichen Grüßen
x"Kazuki is offline  
Old 01/21/2015, 14:53   #5
 
.Ryuzaki™'s Avatar
 
elite*gold: 1
Join Date: Aug 2014
Posts: 1,339
Received Thanks: 875
1. mysql -uroot -p
2. grant all on *.* to mt2@"localhost" identified by "mt2!@#";
3. exit;
4. /usr/local/etc/rc.d/mysql-server restart
.Ryuzaki™ is offline  
Old 01/21/2015, 16:37   #6


 
.Marcel''s Avatar
 
elite*gold: 100
Join Date: Sep 2009
Posts: 8,143
Received Thanks: 2,763
Quote:
Originally Posted by x"Kazuki View Post
PLAYER_SQL: localhost mt2 mt2!@# Serveraccount

Das steht in den Config´s

D.h.

localhost = MYSQL_HOST
mt2 = MYSQL_USER
2. mt2 = MYSQL_PASSWPRT
!@# = MYSQL_SERVER ?!?


Problem ist nur das er ja gar nicht mit Navicat verbindet.

Mit freundlichen Grüßen
HOST und Server sind das gleiche....
.Marcel' is offline  
Reply


Similar Threads Similar Threads
Problem with mysql (EN) Mysql geht nicht mehr on (DE)
01/06/2015 - Metin2 Private Server - 6 Replies
EN: Helo guys , i installed mysql 5.6 version , and i put a DB that i had in my PC from a metin2 server . When i wanted to log in with "mysql -u root -p" it said "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' " . And when i have the default database , it works , and when i import then one by one works too , but when i start the server , the users are missing ... DE: Hallo leute , ich hab mysql 5.6 installiert , und ich hab eine DB die auf mein...
[MYSQL]Mysql.sock problem.
06/15/2013 - Metin2 Private Server - 3 Replies
http://www.metin2dream.com/upload/images/sinttuvnv .jpg Solution?, i reinstall mysql, is dedicated
[PROBLEM]:[Root]:Mysql:[...]/tmp/mysql.sock
10/22/2011 - Metin2 Private Server - 3 Replies
Hallo Community habe jetzt seit ein Paar Tagen einen Fehler Namens: failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Screen: http://img809.imageshack.us/img809/9805/helpg.png



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


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.