Aller au contenu
Top-Metin2.org - Vous êtes à la recherche d'un serveur Metin 2 ? ×
×
×
  • Créer...
  • 0

Config channel help


Paul69800

Question

Version des Files / Type d’Émulateur Serveur 2014/2016

Domaine ( Base de Données, Client, Core, Sources... ) : serveur files Serenity

Niveau : Intermédiaire

 

1. Description du dysfonctionnement / Question :

 

Révélation

Access denied for user 'metin2'@'localhost' (using password: YES) 

 

2. Comment le reproduire ?

 

Révélation

mysql_real_connect: Access denied for user 'metin2'@'localhost' (using password: YES) cannot open direct sql connection to host: localhost user: metin2 db: common cannot start server while no common sql connected

 

3. Recherches & Tests effectués ?

 

Révélation

[résolue]problème de tabulation.... 

-------------------------------------------------------

--------------------------
Example erreur sur Putty :pour tout les chanel
--------------------------
PUBLIC_IP: 1XX.XXX.XXX.XXX interface em0
mysql_real_connect: Access denied for user 'metin2'@'localhost' (using password: YES)
cannot open direct sql connection to host: localhost user: metin2 db: common
cannot start server while no common sql connected
HOSTNAME: Game99

---------------------------------------------------------------------------------------------------
Example du tuto Théa Smokke- https://fr.metin2.dev/topic/10028-installer-un-serveur-dédié-metin2/
---------------------------------------------------------------------------------------------------

j'ai utiliser la commende mysql -u root -p
puis entrée le mots de passe qui nous donne accès a la console Mysql :

Suivis de :
mysql>:GRANT ALL PRIVILEGES ON *.* TO 'metin2'@'localhost' IDENTIFIED BY 'mt2!@#' WITH GRANT OPTION;
mysql>flush privileges;
mysql>quit

Information. Ici, nous créons un utilisateur metin2, accessible en localhost avec le mot de passe que vous avez défini. On lui donne tous les privilèges.
C'est avec cet utilisateur que vos CONFIG metin2 devront utiliser pour se connecter à la base de données.

--------------------------------------------------
Modification des fichier config de chaque channel:
-------------------------------------------------
PLAYER_SQL: localhost metin2 mt2!@# account
COMMON_SQL: localhost metin2 mt2!@# common
LOG_SQL: localhost metin2 mt2!@# log

-----------------------------------------
modif affecter au fichier conf.txt du db:
-----------------------------------------
SQL_ACCOUNT = "localhost account metin2 mt2!@# 0"
SQL_PLAYER = "localhost player metin2 mt2!@# 0"
SQL_COMMON = "localhost common metin2 mt2!@# 0"
SQL_HOTBACKUP = "localhost hotbackup metin2 mt2!@# 0"
-------------------------------------

Mon fichier config channel:

------------------------------------------

HOSTNAME: channel1
CHANNEL: 1
PORT: 13000
P2P_PORT: 14000
DB_PORT: 15000
DB_ADDR: localhost
MAP_ALLOW: 1 3 21 23 25 41 43 61 62 63 64 65 66 67 68 69 70 71 72 73 104 208 216 217 301 302 303 304
TABLE_POSTFIX:
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
PLAYER_SQL: localhost administrator mt2!@# player
COMMON_SQL: localhost administrator mt2!@# common
LOG_SQL: localhost administrator mt2!@# log
TEST_SERVER: 0
PK_SERVER: 0
MALL_URL: 
VIEW_RANGE: 8000
CHECK_MULTIHACK: 0
MAX_LEVEL: 105
MAX_LEVEL_STATUS: 250
PK_PROTECT_LEVEL: 15
special_shout: 1
gm_ghost_shout: 1
gm_empire_shout: 1
gm_level_shout: 1
player_empire_shout: 1
player_level_shout: 1
CheckClientVersion: 1
ClientVersion: 1215955201
enable_new_kingdom_for_mt2!@#: 0
adminpage_ip: sunucu ip sini yazın
adminpage_password: asdzhfghgfhgrtewevbvbvbnbnbn
MARK_SERVER

---------------------

Fichier Auth

-------------------

HOSTNAME: auth
CHANNEL: 1
PORT: 11002
P2P_PORT: 11012
DB_PORT: 15000
DB_ADDR: localhost
TABLE_POSTFIX:
ITEM_ID_RANGE: 000000001 000000002
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
AUTH_SERVER: master
PLAYER_SQL: localhost metin2 mt2!@# account
COMMON_SQL: localhost metin2 mt2!@# common
LOG_SQL: localhost metin2 mt2!@# log
TEST_SERVER: 0
PK_SERVER: 0
VIEW_RANGE: 8000
CheckClientVersion: 1
ClientVersion: 1215955201
adminpage_ip:
adminpage_password:

 

4. Screenshots ?

 

Révélation

désoler pas de Screenshots disponible.

 

J'affirme avoir lu et accepté le règlement de Funky Émulation

Modifié par Paul69800
ajout du fichier auth
Lien vers le commentaire
Partager sur d’autres sites

5 réponses à cette question

Messages recommandés

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.


Information importante

Conditions d’utilisation / Politique de confidentialité / Règles / Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.