Updated: 13 November 2026 · Applies to: DirectAdmin (Evolution skin)
Open MySQL Management, click the database, then tick or untick privileges for its user and save: that controls what the user can do (read only, change data, change table structure) without changing the password or deleting the account.
Steps
- Log in to DirectAdmin (usually
https://your-server:2222; the address is in your welcome email). - Open User Level > MySQL Management and click the database.
- Choose the privileges option for the user attached to that database.
- Tick the privileges the application needs, then save. DirectAdmin applies the change immediately, with no service restart.
What each group of privileges covers
- SELECT: read data only. Give this alone to a reporting tool, a read replica account or a monitoring script that never writes.
- INSERT, UPDATE, DELETE: add, change and remove rows. Most web applications (WordPress, a shopping cart, a forum) need these together with SELECT.
- CREATE, DROP, ALTER, INDEX: change the table structure itself (new tables, new columns, new indexes). An application's own installer usually needs these once, during setup; day to day use rarely does.
- LOCK TABLES, REFERENCES, CREATE TEMPORARY TABLES: used by some backup tools and by applications that build temporary working tables during a report or import.
Most applications ship a line in their installation guide naming exactly which privileges they need; when in doubt, grant everything except administrative ones such as GRANT (which lets the user hand their own privileges to someone else) and SUPER, neither of which a normal application account should ever need.
If the application still reports an access denied error after you save
Most applications cache their database connection on first load. Reload the application's admin page or restart its process (for example a Node.js or PHP-FPM worker) after changing privileges, since the old connection may keep failing until the application reconnects.
If you need to create the database and user from scratch rather than just change privileges on an existing one, see creating a MySQL user and granting permissions from the command line or granting user access to a database from the MySQL command line for the same task without the control panel.
Repairing or optimising the same database is covered in repairing a database in DirectAdmin and optimising or analysing a database in DirectAdmin.