MySQL 8.4 · Databases and users
Grant privileges on a database
Let a user read and write the tables in one database.
GRANT SELECT, INSERT, UPDATE, DELETE ON mydb.* TO 'app'@'localhost';
Official MySQL 8.4 documentation
MySQL 8.4 · Databases and users
Let a user read and write the tables in one database.
GRANT SELECT, INSERT, UPDATE, DELETE ON mydb.* TO 'app'@'localhost';
Official MySQL 8.4 documentation
Was this page helpful?