Fehlermeldung #2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
hanschuetz
Posts: 7
Freshman Member
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
- 164 Beta Program
- 1.7K Nebula
- 86 Nebula Ideas
- 62 Nebula Status and Incidents
- 4.7K Security
- 236 Security Ideas
- 1.1K Switch
- 50 Switch Ideas
- 908 WirelessLAN
- 27 WLAN Ideas
- 5.3K Consumer Product
- 172 Service & License
- 294 News and Release
- 65 Security Advisories
- 14 Education Center
- 911 FAQ
- 399 Nebula FAQ
- 249 Security FAQ
- 90 Switch FAQ
- 100 WirelessLAN FAQ
- 18 Consumer Product FAQ
- 55 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 68 About Community
- 51 Security Highlight
Consumer Product Help Center
FAQ
Master Member
Guru Member
Ally Member