Regular database users cannot create views in MySQL / MariaDB. If you try to execute the CREATE and VIEW commands as a regular user you will receive the error "#1142 - CREATE VIEW command denied to user 'user'@'localhost' for table 'table'"

If you wish to grant these privileges to the database, you will have to login to the respective database using the username and password used for cPanel.

Was this answer helpful? 0 Users Found This Useful (0 Votes)