What are Database User Privileges? Updated on August 16, 2021 by InMotion Hosting Contributor 0 Minutes, 55 Seconds to Read Databases are created and maintained using MySQL. Another MySQL function is to verify credentials and permissions. First, to initiate a connection to a database, MySQL must authenticate a database user and password combination (as well as the hostname from which the request was made). Once the connection is authorized, commands to manipulate a particular database are validated. During validation, MySQL checks that privileges have been granted to the specified database for the database user. The database user privileges need to be granted before MySQL will allow that user to execute the request on the database. MySQL maintains these privileges in its own database table mysql. Common Privileges The table below displays the most common MySQL user privileges that can be assigned to a database user. MySQL Privileges ALTER DELETE LOCK TABLES ALTER ROUTINE DROP REFERENCES CREATE EVENT SELECT CREATE ROUTINE EXECUTE SHOW VIEW CREATE TEMPORARY TABLES INDEX TRIGGER CREATE VIEW INSERT UPDATE To learn more about Database User Privileges check out the official MySQL documentation here. You can also learn how to create a database user and assign it privileges from the command line. Share this Article IC InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles AWStats: View Statistics About Your Website Traffic MySQL Error 1064: You Have an Error in Your SQL Syntax MySQL Error 1044 Access Denied Troubleshooting: Fixing the “localhost Refused to Connect” Error HTTP Error Codes: What They Mean and How to Fix Them How to Fix the 504 Gateway Timeout Error 500 Internal Server Error How To Create a PHP Redirect (301, 302, and Dynamic Redirect Examples) Connect to SFTP for Shared Hosting Accounts Using FileZilla FTP Basics for Dedicated Servers