当我试图上传我的数据库时,我抛出了下面的错误。我已经在终端和phpmyadmin中尝试过了。这两个错误都是相同的:
SQL query:
DELIMITER ; ;
/*!50003 CREATE*//*!50017 DEFINER=`root`@`localhost`*//*!50003 TRIGGER trg_catalog_category_entity_after_insert AFTER INSERT ON catalog_category_entity FOR EACH ROW BEGIN INSERT IGNORE INTO `enterprise_url_rewrite_category_cl` (`entity_id`) VALUES (NEW.`entity_id`); INSERT IGNORE INTO `catalog_category_product_cat_cl` (`category_id`) VALUES (NEW.`entity_id`); INSERT IGNORE INTO `catalog_category_flat_cl` (`entity_id`) VALUES (NEW.`entity_id`); END */ ; ;
MySQL said: Documentation
#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation 在终端中,由于共享服务器的情况,我无法访问root。
我从另一家商店拉出了这个数据库,并将其设置在另一台服务器上。如果我真的能克服这个错误。
我尝试过更改用户、添加新用户、更新权限和授权,但似乎都不起作用。
发布于 2018-05-11 15:53:45
使用root权限登录
mysql -u root -p然后试试这个
GRANT ALL PRIVILEGES ON `%`.* TO 'root'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;这是我的工作
https://stackoverflow.com/questions/42043788
复制相似问题