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;

