MariaDB: 'root' mit 'all permissions' auf Raspian

juergen_k

Neuer Benutzer
Beiträge
2
Hallo,

Ich nutze einen Raspberry Pi 3+ und MariaDB Server 10.1

Ich möchte dem User 'root' ein 'all permissions' zuweisen. Ich melde mich mit phpmyadmin an, der 'all privileges' hat:

Code
  1. DROP USER 'root';
  2. CREATE USER 'root'@'localhost' IDENTIFIED BY 'pw123';
  3. GRANT ALL PRIVILEGES ON * . * TO 'root'@'localhost';
  4. FLUSH PRIVILEGES;
Ergebnis:
  1. ERROR 1045 (28000): Access denied for user 'phpmyadmin'@'localhost' (using password: YES)
Ich habe schon alles mögliche probiert. Auf meinem Ubuntu läuft es problemlos.


Gruß Jürgen
 
Werbung:
Ergänzung: Mein phpmyadmin:

+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Grants for phpmyadmin@localhost |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'phpmyadmin'@'localhost' IDENTIFIED BY PASSWORD '*F4C369B8C90223C218997B7E868DC5281420C836' |
| GRANT ALL PRIVILEGES ON `phpmyadmin`.* TO 'phpmyadmin'@'localhost' |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -+
 
Zurück
Oben