-
En ligne récemment
Aucun utilisateur enregistré regarde cette page.
-
Flux d'Activité
-
188
-
1
-
0
-
7
1.4.6 | M2KSF Project
Merci beaucoup pour ce projet, ça va en aider plus d'un- 1
-
-
7
-
7
-
7
1.4.6 | M2KSF Project
Salut, le dossier est ici : /home/m2_svfiles/main Attention ! Le client crash quant ont ouvre la fenêtre de guild... EDIT : Autant pour moi ça a été corrigé et partager sur le Discord du projet. -
7
-
5
Créer un serveur privé Metin2 Project en local
Réécriture terminée.- 1
-
-
Question
Paul69800 0
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 :
Access denied for user 'metin2'@'localhost' (using password: YES)
2. Comment le reproduire ?
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é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://funky-emu.net/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 '[email protected]#' 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 [email protected]# account
COMMON_SQL: localhost metin2 [email protected]# common
LOG_SQL: localhost metin2 [email protected]# log
-----------------------------------------
modif affecter au fichier conf.txt du db:
-----------------------------------------
SQL_ACCOUNT = "localhost account metin2 [email protected]# 0"
SQL_PLAYER = "localhost player metin2 [email protected]# 0"
SQL_COMMON = "localhost common metin2 [email protected]# 0"
SQL_HOTBACKUP = "localhost hotbackup metin2 [email protected]# 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 [email protected]# player
COMMON_SQL: localhost administrator [email protected]# common
LOG_SQL: localhost administrator [email protected]# 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
[email protected]#: 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 [email protected]# account
COMMON_SQL: localhost metin2 [email protected]# common
LOG_SQL: localhost metin2 [email protected]# log
TEST_SERVER: 0
PK_SERVER: 0
VIEW_RANGE: 8000
CheckClientVersion: 1
ClientVersion: 1215955201
adminpage_ip:
adminpage_password:
4. Screenshots ?
désoler pas de Screenshots disponible.
J'affirme avoir lu et accepté le règlement de Funky Émulation
Modifié par Paul69800ajout du fichier auth (Voir l’historique des modifications)
Lien à poster
5 réponses à cette question
Messages recommandés