我尝试了许多可能的东西,我谷歌但仍然查看表的内容不起作用。我甚至试图给予所有优先权,但仍然没有效果。就像魔术师的飞溅一样。
错误讯息:
#1356 - View 'dbname.vw_access_rights' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
尝试查询:
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `test_view` AS select `vw_access_rights`.`Menu_ID` AS `x`,`vw_access_rights`.`Menu_Name` AS `y` from `vw_access_rights`
请帮我解决这个问题我无法查看数据库的内容。