Problema start server !

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
metin2newstory
Nivel 2

Nivel 2
Mesaje: 277
Membru din: 14 Sep 2014, 02:04
Server: Metin2NewStory
Regat: Jinno
Aprecieri: 23  
Mulţumiri: 49  
 Contact:
Medalii

Salut am instalat si eu serverfile totul bine si ok !
am resetart parola mysql si cat dar sh start.sh imi da erroare !
Real Server
Log Offmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 seconds================ BAZA DE DATE ESTE ONLINE ================
================ LOGIN-UL PORNESTE ================
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsPUBLIC_IP: 25.7.154.100 interface em0
HOSTNAME: login
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
cannot open direct sql connection to host: localhost user: root db: common
cannot start server while no common sql connected
^C
root@:/usr/game/administrare_server # mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsSuccess PLAYER
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsSuccess ACCOUNT
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsSuccess COMMON
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsSuccess HOTBACKUP
HELP !
Avatar utilizator
Cukycuky
Nivel 3

Nivel 3
Mesaje: 347
Membru din: 23 Iun 2016, 11:51
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 15  
Medalii

Am mai zis odata asta .. scrie in putty mysql -u root -p apoi iti bagi parola , apoi scrii
grant all on *.* to root@'%' identified by 'paroladorita';

In loc de paroladorita iti bagi parola de la navicat
Avatar utilizator
metin2newstory
Nivel 2

Nivel 2
Mesaje: 277
Membru din: 14 Sep 2014, 02:04
Server: Metin2NewStory
Regat: Jinno
Aprecieri: 23  
Mulţumiri: 49  
 Contact:
Medalii

Cukycuky scrie:Am mai zis odata asta .. scrie in putty mysql -u root -p apoi iti bagi parola , apoi scrii
grant all on *.* to root@'%' identified by 'paroladorita';

In loc de paroladorita iti bagi parola de la navicat
am intrat in putty mam logat si am bagat ce ai zis tu !
si >>>>
================ CANALUL 1 PONESTE ================
PUBLIC_IP: 25.7.154.100 interface em0
HOSTNAME: canal_1_core_1
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: Y ES)
cannot open direct sql connection to host: localhost user: root db: common
cannot start server while no common sql connected
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: Y ES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root '@'localhost' (using password: YES)
failed, retrying in 5 secondsPUBLIC_IP: 25.7.154.100 interface em0
HOSTNAME: canal_1_core2
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: Y ES)
cannot open direct sql connection to host: localhost user: root db: common
cannot start server while no common sql connected
Success PLAYER
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: Y ES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root '@'localhost' (using password: YES)
failed, retrying in 5 seconds================ CANALUL 1 ESTE ONLINE ======= =========
================ JOC-UL PORNESTE ================
PUBLIC_IP: 25.7.154.100 interface em0
HOSTNAME: canal_joc
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: Y ES)
cannot open direct sql connection to host: localhost user: root db: common
cannot start server while no common sql connected
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: Y ES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root '@'localhost' (using password: YES)
failed, retrying in 5 seconds
root@:/usr/game/administrare_server # mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root '@'localhost' (using password: YES)
failed, retrying in 5 secondsSuccess ACCOUNT
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: Y ES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root '@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 seconds
Avatar utilizator
Cukycuky
Nivel 3

Nivel 3
Mesaje: 347
Membru din: 23 Iun 2016, 11:51
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 15  
Medalii

Sigur ai schimbat parola mysql bine ? Daca da , poate nu ai bagat bine ce ti-am zis eu : mysq -u root -p
apoi scrii parola
apoi grant all on *.* to root@'%' identified by 'paroladorita';

In loc de parola iti bagi parola din navicat .
Nu are de ce sa nu mearga
Avatar utilizator
metin2newstory
Nivel 2

Nivel 2
Mesaje: 277
Membru din: 14 Sep 2014, 02:04
Server: Metin2NewStory
Regat: Jinno
Aprecieri: 23  
Mulţumiri: 49  
 Contact:
Medalii

Cukycuky scrie:Sigur ai schimbat parola mysql bine ? Daca da , poate nu ai bagat bine ce ti-am zis eu : mysq -u root -p
apoi scrii parola
apoi grant all on *.* to root@'%' identified by 'paroladorita';

In loc de parola iti bagi parola din navicat .
Nu are de ce sa nu mearga
da am resetat parola mysql bine pt ca mam logat la navicat !
si am bagato bine acolo si am dat reboot si cand am dat start aceeasi problema !
Avatar utilizator
Cukycuky
Nivel 3

Nivel 3
Mesaje: 347
Membru din: 23 Iun 2016, 11:51
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 15  
Medalii

Resetea'za parola iar

Cod: Selectaţi tot

 Cum resetez parola mysql

1. Se intra in putty cu utilizatorul si cu parola de root

2. Se opreste serverul MySQL:/usr/local/etc/rc.d/mysql-server stop
3. Se porneste serverul mysql fara parola de root:mysqld_safe --skip-grant-tables &
4. Ne conectam ca root la serverul mysql: mysql -u root
5. Rulam urmatoarele comenzi, care vor reseta parola de root:
use mysql;
update user set password=PASSWORD('paroladorita') where user='root';
flush privileges;
quit
6. Oprim serverul mysql: /usr/local/etc/rc.d/mysql-server stop
7. Il pornim normal: /usr/local/etc/rc.d/mysql-server start

De aici inainte totul ar trebui sa functioneze normal. Pentru siguranta putem testa daca parola s-a schimbat intr-adevar folosind clientul mysql:mysql -u root -p

Nu merge parola navicat cu parola setata mai sus, ce ar trebui sa fac ?

Tot in putty rulam urmatoarea comanda : grant all on *.* to root@'%' identified by 'paroladorita';
Avatar utilizator
metin2newstory
Nivel 2

Nivel 2
Mesaje: 277
Membru din: 14 Sep 2014, 02:04
Server: Metin2NewStory
Regat: Jinno
Aprecieri: 23  
Mulţumiri: 49  
 Contact:
Medalii

Cukycuky scrie:Resetea'za parola iar

Cod: Selectaţi tot

 Cum resetez parola mysql

1. Se intra in putty cu utilizatorul si cu parola de root

2. Se opreste serverul MySQL:/usr/local/etc/rc.d/mysql-server stop
3. Se porneste serverul mysql fara parola de root:mysqld_safe --skip-grant-tables &
4. Ne conectam ca root la serverul mysql: mysql -u root
5. Rulam urmatoarele comenzi, care vor reseta parola de root:
use mysql;
update user set password=PASSWORD('paroladorita') where user='root';
flush privileges;
quit
6. Oprim serverul mysql: /usr/local/etc/rc.d/mysql-server stop
7. Il pornim normal: /usr/local/etc/rc.d/mysql-server start

De aici inainte totul ar trebui sa functioneze normal. Pentru siguranta putem testa daca parola s-a schimbat intr-adevar folosind clientul mysql:mysql -u root -p

Nu merge parola navicat cu parola setata mai sus, ce ar trebui sa fac ?

Tot in putty rulam urmatoarea comanda : grant all on *.* to root@'%' identified by 'paroladorita';
am facut exact asa aceeasi problema ! :(
HELPPP
Avatar utilizator
metin2newstory
Nivel 2

Nivel 2
Mesaje: 277
Membru din: 14 Sep 2014, 02:04
Server: Metin2NewStory
Regat: Jinno
Aprecieri: 23  
Mulţumiri: 49  
 Contact:
Medalii

Ajutor !
Avatar utilizator
Cukycuky
Nivel 3

Nivel 3
Mesaje: 347
Membru din: 23 Iun 2016, 11:51
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 15  
Medalii

Asta o da cand nu e resetata parola mysql .. nu inteleg de ce tot persista
Avatar utilizator
Okami
Deţinător Server

Deţinător Server
Mesaje: 1856
Membru din: 01 Ian 2015, 05:40
Server: Old Metin2
Regat: Jinno
Aprecieri: 614  
Mulţumiri: 107  
Discord: Copiază ID
 Contact:
Medalii

Verifica dacalocatia folderului mysql este in var/db/mysql si NU in var/db/var/db/mysql!
Daca se afla in var/db/var/db/mysql, trage folderul mysql pe rand in directoare pana ajunge in var/db/.
Bafta!
Afișează semnătura
Închis
Răspunsuri
7
Vizualizări
445
Răspunsuri
6
Vizualizări
422
Răspunsuri
7
Vizualizări
422
Răspunsuri
8
Vizualizări
753

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Bing [Bot] și 63 vizitatori