====== MySQL Berechtigung erteilen ======
Einzelne Tabelle:
GRANT ALL PRIVILEGES ON DatabaseName.TableName TO 'User'@'localhost';
Alle Tabellen einer Datenbank:
GRANT ALL PRIVILEGES ON DatabaseName.* TO 'User'@'localhost';
Alle Datenbanken:
GRANT ALL PRIVILEGES ON *.* TO 'User'@'localhost';
Anschließend ein
FLUSH PRIVILEGES;
[[https://chartio.com/resources/tutorials/how-to-grant-all-privileges-on-a-database-in-mysql/#database-specific-privileges|Quelle]], [[https://www.hostinger.com/tutorials/mysql/how-create-mysql-user-and-grant-permissions-command-line|Quelle2]], [[https://askubuntu.com/questions/34409/unable-to-login-to-phpmyadmin-with-the-root-user|Quelle3]]
{{tag>[MySQL Berechtigung GRANT]}}