Fehlermeldung #2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

hanschuetz
Posts: 7
Freshman Member

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
- 199 Beta Program
- 1.8K Nebula
- 94 Nebula Ideas
- 63 Nebula Status and Incidents
- 4.7K Security
- 236 Security Ideas
- 1.1K Switch
- 52 Switch Ideas
- 919 WirelessLAN
- 28 WLAN Ideas
- 5.4K Consumer Product
- 173 Service & License
- 296 News and Release
- 65 Security Advisories
- 14 Education Center
- 1K FAQ
- 454 Nebula FAQ
- 258 Security FAQ
- 100 Switch FAQ
- 115 WirelessLAN FAQ
- 22 Consumer Product FAQ
- 70 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 69 About Community
- 52 Security Highlight
Consumer Product Help Center
