Mysql 如何为数据库设置超级权限

Mysql 如何为数据库设置超级权限,mysql,Mysql,当我导入数据并遇到以下问题(错误-1)时,当我尝试用谷歌搜索它时,我从链接中签出全局权限并使用此id dql编辑器-全部启用授予。到'dev-1'@'localhost';这给了我错误-2 error-1 SQL query: /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`ars_user465`@`%` SQL SECURITY DEFINER */ /*!50001 VIEW `constantcontact_cust

当我导入数据并遇到以下问题(错误-1)时,当我尝试用谷歌搜索它时,我从链接中签出全局权限并使用此id dql编辑器-全部启用授予。到'dev-1'@'localhost';这给了我错误-2

error-1
SQL query: 


/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`ars_user465`@`%` SQL SECURITY DEFINER */
/*!50001 VIEW `constantcontact_customers_agents` AS select `customers`.`CustomerID` AS `CustomerID`,`customers`.`AgentID` AS `AgentID`,`customers`.`AccountType` AS `CustomerAccountType`,`customers`.`FirstName` AS `CustomerFirstName`,`customers`.`LastName` AS `CustomerLastName`,`customers`.`Address` AS `CustomerAddress`,`customers`.`City` AS `CustomerCity`,`customers`.`State` AS `CustomerState`,`customers`.`Zip` AS `CustomerZip`,`customers`.`Phone` AS `CustomerPhone`,`customers`.`Cell` AS `CustomerCell`,`customers`.`Fax` AS `CustomerFax`,`customers`.`Email` AS `CustomerEmail`,`customers`.`Dob` AS `CustomerDob`,`agents`.`FirstName` AS `AgentFirstName`,`agents`.`LastName` AS `AgentLastName`,`agents`.`CompanyName` AS `AgentCompanyName`,`agents`.`ApiUsername` AS `ApiUsername`,`agents`.`ApiPassword` AS `ApiPassword` from (`customers` join `agents` on((`customers`.`AgentID` = `agents`.`AgentID`)[...]

MySQL said: 
#1227 - Access denied; you need the SUPER privilege for this operation 

error -2 :

#1045 - Access denied for user 'dev-1'@'%' (using password: YES) 

错误1:您登录的用户需要
super
权限

错误:1227 SQLSTATE:42000(特定于ER的访问被拒绝错误)消息: 拒绝访问;此操作需要%s权限

错误2:您登录的用户(dev-1@%)很可能没有
Grant
权限

运行
选择用户(),当前用户()
确认您以您认为的用户身份登录

然后运行
从mysql.user中选择user、host、grant_priv,其中grant_priv='Y'
确认该用户是否具有
授予
特权。如果没有,您将需要以用户身份登录,并使用
授予
特权来分配
超级
特权。(这些用户通常是
localhost
仅为默认用户)