Eroare Mysql

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

Nivel 2
Mesaje: 178
Membru din: 28 Feb 2015, 16:15
Server: --.--
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

Log Offmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 seconds
PORNESC BAZA DE DATE ..
PUBLIC_IP: 188.241.14.153 interface em0
HOSTNAME: ch_auth
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: ezio db: common
cannot start server while no common sql connected

PORNESC CHANNEL1_2CORE ..
PUBLIC_IP: 188.241.14.153 interface em0
HOSTNAME: ch1_1
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: ezio db: common
cannot start server while no common sql connected
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsPUBLIC_IP: 188.241.14.153 interface em0
HOSTNAME: ch1_2
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: ezio db: common
cannot start server while no common sql connected

PORNESC CHANNEL99_1CORE ..
PUBLIC_IP: 188.241.14.153 interface em0
HOSTNAME: ch99_1
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: ezio db: common
cannot start server while no common sql connected
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 seconds
root@metin2:/usr/home/game # mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsSuccess PLAYER
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsSuccess ACCOUNT
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 seconds


de ce apare ?
Avatar utilizator
MariusIkă
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 28 Feb 2015, 16:15
Server: --.--
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

up
Avatar utilizator
Donattelo
Nivel 3

Nivel 3
Mesaje: 303
Membru din: 20 Aug 2013, 13:58
Regat: Jinno
Aprecieri: 17  
Mulţumiri: 12  
 Contact:
Medalii

nu ai instalat bine server files reinstaleaza game si mysql de la capat (Y) si ai grija sa fie corect instalate.
Imagine
Afișează semnătura
Avatar utilizator
MariusIkă
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 28 Feb 2015, 16:15
Server: --.--
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

Ok !
Avatar utilizator
[#Chriss]
Utilizator interzis !

Utilizator interzis !
Mesaje: 621
Membru din: 09 Aug 2015, 15:46
Server: Metin2TheHurtLocker
Regat: Jinno
Aprecieri: 5  
Mulţumiri: 25  
 Contact:
Medalii

Nu bosulică .... n-are treabă sv file cu asta..e legat de pw de la mysql..doamne fereşte..ce gândire..trb resetată pw..dacă ai nevoie de ajutor..lasă-mi mesaj privat că te ajut cu cea mai mare plăcere .
Ai nevoie de suport gratuit metin2?
Skype: monster_cristi
Proiecte Realizate:
AgeOfKhaos, Cardinali, Expansive, Funny, DevDas, Tutankamon
Afișează semnătura
Avatar utilizator
AdrianC
Nivel 4

Nivel 4
Mesaje: 676
Membru din: 30 Noi 2014, 20:37
Server: #.#
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 47  
Medalii

Șterge logurile, posibil din acest motiv să îți dăuneze serverului.
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Poftim:
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';

Rezolvare eroare Mysql.sock
Aceasta eroare apare din cauza faptului ca nu aveti spatiu suficient pe vds sau dedicat. Pentru a evita aceasta eroare si pentru rezolvarea ei trebuie sa stergeti frecvent urmatoarele fisiere :

sysser
syslog
PTS
game.core din channele
fisierul .err din /var/db/mysql
recomandam sa goliti si tabelele din log zilnic sau macar odata la 2 zile

[ Mesaj scris via Android ] Imagine
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Avatar utilizator
zmyl3
Utilizator interzis !

Utilizator interzis !
Mesaje: 207
Membru din: 07 Aug 2015, 11:25
Aprecieri: 0
Mulţumiri: 1  
Medalii

Pentru a rezolva mysql.sock reseteaza parola mysql si o sa-ti mearga sigur.
Avatar utilizator
C.Mihai
Nivel 9

Nivel 9
Mesaje: 1875
Membru din: 26 Mai 2014, 13:57
Server: xGamer
Regat: Chunjo
Aprecieri: 24  
Mulţumiri: 7  
 Contact:
Medalii

Arhivat ! :-h ! Subiect inactiv !
Nu iti poti trai viata pentru altii. Trebuie sa faci ceea ce e bine pentru tine, chiar daca astfel ii ranesti pe cei pe care ii iubesti. – Nicholas Sparks
Imagine
Cea mai bună firmă de HOSTING !
Afișează semnătura
Închis
Răspunsuri
3
Vizualizări
446
Răspunsuri
1
Vizualizări
211
Răspunsuri
9
Vizualizări
749
Răspunsuri
1
Vizualizări
309

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

  • Informaţie
  • Cine este conectat

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