Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

为啥配置了Schema 不生效 #363

Closed

Description

@MuJianxuan

环境信息

  • 系统:
  • JDK:
  • 数据库:
  • APIJSON:

问题描述

image
下载的demo

还有一个我觉得奇怪的是
image
我本地可以连接的,但是 在项目运行却提示运行 访问权限问题,我不太确定是不是 sys.Test导致的。
image
image

错误信息

Activity

  1. TommyLemon commented on Jan 27, 2022

    @TommyLemon
    Member

    应该是没有注册 DemoSQLConfig
    https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONDemo-HikariCP/src/main/java/apijson/demo/DemoApplication.java
    image

    或者没有初始化
    image

    导致 DemoSQLConfig 里面的代码都没执行,最后还是用默认是 sys

  2. TommyLemon commented on Feb 7, 2022

    @TommyLemon
    Member

    相关问题(注意他在 URI 中配置了 schema,类似 jdbc:mysql://localhost:3306/sys )
    #364

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions