Files
thpeetz-notes/Infos/IT/MariaDB.md
T
2026-01-27 16:34:57 +01:00

19 lines
420 B
Markdown

## FAQ
### Access denied for user debian-sys-maint@localhost
Auf Ubuntu-Systemen kann der Systemuser für Mysql-Upgrades fehlen. Hier die Kommandos zum Einrichten:
```shell
sudo cat /etc/mysql/debian.cnf
sudo su -
sudo mysql
```
```sql
create user 'debian-sys-maint'@'localhost' IDENTIFIED BY '<password>';
grant all privileges on *.* to 'debian-sys-maint'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit;
```