Today, I used Navicat to connect to the mysql account on the server to create a table in the table, and a similar error was reported, CREATE command denied to user for table
It is a problem of database permission settings, so it cannot be created. Just assign all privileges to the corresponding account:
mysql>grant all privileges on data.* to work; //data is the database, and work is the user who manipulates the data
mysql>flush privileges; //Refresh the system privilege table.
Reprinted from https://www.cnblogs.com/wayneliu007/p/10393598.html