Fehlermeldung #2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Options
![hanschuetz](https://us.v-cdn.net/6029482/uploads/avatarstock/nPH15G5ZZF2BU.png)
hanschuetz
Posts: 7
Freshman Member
![](https://www.zyxel.com/library/assets/zyxel-forum/freshman_member.png)
Hallo,
ich bin hier neu und habe ein Problem.
nach ca. einer Woche ohne MySQL Probleme kommt seit heute die Meldung
#2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Was ist passiert und wie kann ich das Problem beheben?
Ich habe bereits die das Paket (PHP-MySQL-phpMyAdmin) deinstalliert und neu installiert.
leider ohne Erfolg.
Ich benutze:
NSA325 V2 mit der neuesten Firmware
FritzBox
Vielen Dank im Voraus
Horst
#NAS_Nov_2018
ich bin hier neu und habe ein Problem.
nach ca. einer Woche ohne MySQL Probleme kommt seit heute die Meldung
#2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Der Server antwortet nicht (evtl. ist der Socket des lokalen MySQL-Servers nicht korrekt konfiguriert).
Ich habe bereits die das Paket (PHP-MySQL-phpMyAdmin) deinstalliert und neu installiert.
leider ohne Erfolg.
Ich benutze:
NSA325 V2 mit der neuesten Firmware
FritzBox
Vielen Dank im Voraus
Horst
#NAS_Nov_2018
0
All Replies
-
Hi,
Search Google, the error message might be there is not the file under /tmp, that caused mysql run failure, but actually there is, so with internal package should be ok.
What kind of application did you run with mysql?
0 -
Did you already try a reboot?
0 -
On 540/542 the 'bind-address is always restored to defaults (127.0.0.1) when updating/re-installing FW.
Could be worth a try to check and try with "bind-address=0.0.0.0"
(Location: /i-data/ede84c02/.PKG/PHP-MySQL-phpMyAdmin/etc/init.d)0 -
@all, sorry for the late answer.
@ Wiasouda: The file was in the „/tmp“ directory.
@ Mijzelf: I restarted the system every time.
@ JockeSve: I didn´t make the changes, because the system was running for several days.
Solution:
I deleted the PHP-package with all user files and installed the PHP-package once again.
I´m happy that it runs again, but all data bases are lost.
Many thanks @all
Horst
1
Categories
- All Categories
- 413 Beta Program
- 2.3K Nebula
- 192 Nebula Ideas
- 87 Nebula Status and Incidents
- 5.3K Security
- 142 USG FLEX H Series
- 253 Security Ideas
- 1.3K Switch
- 75 Switch Ideas
- 993 Wireless
- 51 Wireless Ideas
- 6.1K Consumer Product
- 231 Service & License
- 362 News and Release
- 74 Security Advisories
- 23 Education Center
- 5 [Campaign] Zyxel Network Detective
- 2.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 101 About Community
- 67 Security Highlight