标签:
Error:ALTER command denied to user ‘xxxx‘@‘localhost‘ for table ‘uc_notelist‘ Errno:1142 SQL::ALTER TABLE uc_notelist ADD COLUMN app1 tinyint NOT NULL 说明xxxx用户没有ALTER权限。 到mysql中, mysql> SELECT alter_priv FROM user WHERE User = ‘xxxx‘; 发现alter_priv = ‘N‘,果然没有权限。 修改权限: mysql> UPDATE user SET alter_priv=‘Y‘ WHERE User = ‘xxxx‘; mysql> flush privileges;
标签:
原文地址:http://my.oschina.net/u/1866821/blog/528241