The database created by the root user of the MySQL administrator cannot be viewed by non-root users

View the permissions owned by dev_test

show grants for 'dev_test'@'%';

Give the dev_test user the permission to add, delete, modify, and check the snaker library

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, EXECUTE ON `snaker`.* TO 'dev_test'@'%' WITH GRANT OPTION

 

Guess you like

Origin blog.csdn.net/u013600907/article/details/115317702