[GHID]Cum sa modifici parola sql pentru serverfiles

Închis
Avatar utilizator
[Chuli-Gaara]
Nivel 10

Nivel 10
Mesaje: 2285
Membru din: 27 Oct 2014, 22:34
Server: Al meu
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 17  
 Contact:
Medalii

Cod: Selectaţi tot

A. intram in locatia unde este instalat serverfiles cerut:
exemple de locatie: Fiecare serverfiles are locatie diferita .
cd /usr/game
cd /usr/home/game
cd /usr/rain
B.modificam in :
nano auth/CONFIG
nano channel1/CONFIG
nano channel2/CONFIG
nano db/conf.txt
nano game99/CONFIG
Pentru altele exista si channel3 si channel4
si in aceste fisiere vom gasi un exemplu:

PLAYER_SQL: localhost mt2 metin2 player
COMMON_SQL: localhost mt2 metin2 common
LOG_SQL: localhost mt2 metin2 log

modificam in fiecare fisier metin2 cu noua noastra parola.
salvam . ctrl x apoi apasam pe Y

C.apoi scriem :
mysql -p
apasam enter apoi introducem parola root mysql navicat.
si aici vom scrie asa:
DROP USER mt2;
DROP USER mt2@localhost;

D.apoi vom introduce:
grant all privileges on player.* to mt2@localhost identified by 'PAROLA NOUA' with grant option;
grant all privileges on account.* to mt2@localhost identified by 'PAROLA NOUA ' with grant option;
grant all privileges on common.* to mt2@localhost identified by 'PAROLA NOUA ' with grant option;
grant all privileges on hotbackup.* to mt2@localhost identified by 'PAROLA NOUA ' with grant option;
grant all privileges on log.* to mt2@localhost identified by 'PAROLA NOUA ' with grant option;
exit;
Avatar utilizator
Filipino
Metin Master

Metin Master
Mesaje: 2789
Membru din: 03 Sep 2014, 21:02
Server: ▬▬▬▬▬▬
Aprecieri: 39  
Mulţumiri: 785  
Discord: Copiază ID
Medalii

Existent in fel si fel de chipuri in mii si mii de exemplare...
Cos!
Imagine
Afișează semnătura
Închis

Înapoi la “Arhivă”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 6 vizitatori