User Tools

Site Tools


wiki:wordpress_sql_user_privileges

Wordpress sql user privileges

CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
 
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX,LOCK TABLES ON database_name.* TO 'user'@'localhost' IDENTIFIED BY 'password';
 
FLUSH PRIVILEGES;
 
SHOW GRANTS FOR 'user'@'localhost';

Tested on

See also

References

wiki/wordpress_sql_user_privileges.txt · Last modified: 2021/05/18 11:22 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki