Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MySQL Can't connect to local MySQL server through socket

Empfohlene Antworten

Veröffentlicht

Hallo Zusammen,

ich hab mir mysql auf einen SuSE 8.1 Prof installiert und bekomm jetzt folgende Fehlermeldung:

ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

hab schon etliche mal den Server neugestartet, bringt nichts!

Hallo!

Mal ins blaue geschossen:

Hast Du möglicherweise eine Firewall installiert, die Deinen MYSQL-Port blockt?

Wenn Du eine Firewall installiert hast, stell sie doch zur Probe mal ab.

Hoffe geholfen zu haben!

Gruß

Pointerman

Originally posted by Schlaubi

Ich hab gleich noch ne Frage hinterher:

Wieso kann ich kein root Passwort bei der Installation von MySQL vergeben?

Das musst du nach der Installation machen :

Sie sollten auch für den root-Benutzer ein Passwort vergeben. Das folgende Beispiel entfernt den anonymen Benutzer, der von jedem genutzt werden kann, um auf die test-Datenbank zuzugreifen und setzt dann für den root-Benutzer ein Passwort:

C:\> C:\mysql\bin\mysql mysql

mysql> DELETE FROM user WHERE Host='localhost' AND User='';

mysql> QUIT

C:\> C:\mysql\bin\mysqladmin reload

C:\> C:\mysql\bin\mysqladmin -u root password ihr_passwort

Nachdem Sie das Passwort gesetzt haben, sollten Sie den mysqld-Server herunter fahren, was Sie mit folgendem Befehl bewerkstelligen können:

Quelle : mysql Dokumentation

Gruß

Terran Marine

  • 1 Monat später...

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.