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.

Empfohlene Antworten

Veröffentlicht

Hi

ich habe MySQL auf Debian installiert:

apt-get install mysql-server mysql-client

Der Dienst läuft auch, nur sobald ich darauf zugreifen will habe ich Probleme.

Sobald ich das Passwort ändern will (/usr/bin/mysqladmin -u root password 'new-password') kommt folgende Meldung:

/usr/bin/mysqladmin: connect to server at 'localhost' failed

error: 'Access denied for user: 'root@localhost' (Using password: NO)'

mit: mysql -u root kommt

ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

mit: mysql -u mysql sehe ich die Datenbanken, sobald ich eine Beniutzer will kommt:

ERROR 1044: Access denied for user: '@localhost' to database 'mysql'

Kann mir jemand weiterhelfen?

Ich bin jetzt schon so weit das ich mich mit dem Benutzer mysql anmelden kann.

Allerdings komm ich da nur auf die test DB.

SObald ich allerdings das Passwort für den root vergeben will komm Access denied ...

Hab auch das Problem das ich mich nur dan als mysql anmelden kann, wenn ich mit Mysql der option --socket=/var/run/mysqld/mysqld.sock starte.

mysqladmin brint mir dann immer die Meldung das es nicht starten kann weil die socket datei nicht existiert (/tmp/mysql.sock).

Hilft euch das weiter?

Ich ahb echt keinen Schimmer...

Original geschrieben von sportfogger

Ich bin jetzt schon so weit das ich mich mit dem Benutzer mysql anmelden kann.

Mysqldaemon mit dem parameter --skip-grant-tables neu starten, dann ignoriert er die rechte-table und du kannst dich mit einem beliebigen user einloggen und die Rechte neu setzen.

Gruß

Terran

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.