一、报错内容 SpringBoot+Mybatis连接Postgres库报relation “表名“ does not exist 连接PG库的时候,进行数据库操作,结果报错: org.postgresql.util.PSQLException: ERROR: relation “users” does not exist 明明数据库里面有表,为何找不到??? 二、问题说明 原来,PG库用户登录后,默认搜索的schema名字为search_path = ‘“$user”, public’, 但是我又不能在public的schema中建立表,他会提示报错。 而我操