项目场景: 在mysql客户端workbench中查询视图View报错。 问题描述 View references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them 原因分析: 执行查询之前没有选中数据库,或者没有use。 解决方案: 选中具体的数据库,或者use数据库,在查询就没问题了。