dupa ce am scris cd /usr/game sh start.sh
DUpa eroare de mai sus apare urmatoare chestie
Serveru este pornit cu succes sau ceva de genu si imi arata asa
Care ma ajuta sa o repar aceasta eroare dau thx
dupa ce am scris cd /usr/game
Care ma ajuta sa o repar aceasta eroare dau thxCod: Selectaţi tot
cd /var/dbCod: Selectaţi tot
rm -rf mysqlCod: Selectaţi tot
tar -xzvf mysql.tar.gzCod: Selectaţi tot
chmod -R 777 mysqlCod: Selectaţi tot
rebootCod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server stopCod: Selectaţi tot
mysqld_safe --skip-grant-tables &Cod: Selectaţi tot
mysql -u rootCod: Selectaţi tot
use mysql;Cod: Selectaţi tot
update user set password=PASSWORD('parola pe care o vreti voi') where user='root';Cod: Selectaţi tot
flush privileges;Cod: Selectaţi tot
quitCod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server stopCod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server startCod: Selectaţi tot
mysql -u root -pTe rog frumos daca nu ai abar de server hope2 nu mai te baga(Recunosc is mai lemn decat tine dar ce mai zis acuma e 0) l-am instalat bine problema e ca in core e alta parola si trebuie sa schimb din user navigat parola mt2@localhost ceva de genu si nu stiu unde sa o schimb .Helios scrie:Nu ai fi instalat bine mysql.
Instalează după comenzile acestea:Cod: Selectaţi tot
cd /var/dbCod: Selectaţi tot
rm -rf mysqlCod: Selectaţi tot
tar -xzvf mysql.tar.gzCod: Selectaţi tot
chmod -R 777 mysqlResetează parola mysql.Cod: Selectaţi tot
reboot
1. Ne conectăm la putty.
2. Se opreste serverul MySQL:3. Se pornește serverul mysql fără parola de root:Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server stop4. Ne conectăm ca root la serverul mysql:Cod: Selectaţi tot
mysqld_safe --skip-grant-tables &5. Rulam următoarele comenzi, care vor reseta parola mysql:Cod: Selectaţi tot
mysql -u rootCod: Selectaţi tot
use mysql;Cod: Selectaţi tot
update user set password=PASSWORD('parola pe care o vreti voi') where user='root';Cod: Selectaţi tot
flush privileges;6. Oprim serverul mysql:Cod: Selectaţi tot
quit7. Pornim serverul mysql:Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server stopPutem testa dacă parola s-a schimbat folosind următoarea comandă:Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server startSucces !Cod: Selectaţi tot
mysql -u root -p
ZuLu scrie:Te rog frumos daca nu ai abar de server hope2 nu mai te baga(Recunosc is mai lemn decat tine dar ce mai zis acuma e 0) l-am instalat bine problema e ca in core e alta parola si trebuie sa schimb din user navigat parola mt2@localhost ceva de genu si nu stiu unde sa o schimb .Helios scrie:Nu ai fi instalat bine mysql.
Instalează după comenzile acestea:Cod: Selectaţi tot
cd /var/dbCod: Selectaţi tot
rm -rf mysqlCod: Selectaţi tot
tar -xzvf mysql.tar.gzCod: Selectaţi tot
chmod -R 777 mysqlResetează parola mysql.Cod: Selectaţi tot
reboot
1. Ne conectăm la putty.
2. Se opreste serverul MySQL:3. Se pornește serverul mysql fără parola de root:Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server stop4. Ne conectăm ca root la serverul mysql:Cod: Selectaţi tot
mysqld_safe --skip-grant-tables &5. Rulam următoarele comenzi, care vor reseta parola mysql:Cod: Selectaţi tot
mysql -u rootCod: Selectaţi tot
use mysql;Cod: Selectaţi tot
update user set password=PASSWORD('parola pe care o vreti voi') where user='root';Cod: Selectaţi tot
flush privileges;6. Oprim serverul mysql:Cod: Selectaţi tot
quit7. Pornim serverul mysql:Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server stopPutem testa dacă parola s-a schimbat folosind următoarea comandă:Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server startSucces !Cod: Selectaţi tot
mysql -u root -p
Trebuie sa fac ceva de genu
parola de la userul mt2@localhost trebuie pusa in config din auth fiecare ch/core db di game99.
Sau dupa ce ai creat dai pe users si iti apare acolo mt2@localhost .
5. intri si la parola pune PAROLA_SERVER pentru ca asa este in server si nu are rost sa o modifici in fiecare config.
6. merge , 100% testat de mine! ca si eu am avut aceeasi problema si acum nu mai am!
bafta!
Daca tu imi expilici ca la carte cum fac una di astea 2 atunci ai un mare thx si respect daca nu lasama in penele mele
P.s : in toate cor parola e PAROLA_SERVER si eu am schimbat parola la mysql ca nu mia deschis inainte navigatu si am parola noua .
Cand am instalat serveru am facut fix ca in totorialul care l-ai postat uh
Cod: Selectaţi tot
PLAYER_SQL: localhost mt2 PAROLA_SERVER player
COMMON_SQL: localhost mt2 PAROLA_SERVER commonCod: Selectaţi tot
PAROLA_SERVERO sa incerc mai deseara si vin cu edit +thxZorke scrie:Salut, daca cautai cum trebuie gaseai rezolvarea, uite un tutorial deal meu ai si video
http://just4metin.ro/ghiduri-tutoriale/ ... 19213.html
Bafta !
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 29 vizitatori