Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用本地数据库管理软件(DBeaver)无法连接MariaDB容器 #4423

Closed
chenmofei opened this issue May 20, 2024 · 1 comment
Closed

用本地数据库管理软件(DBeaver)无法连接MariaDB容器 #4423

chenmofei opened this issue May 20, 2024 · 1 comment

Comments

@chenmofei
Copy link

* Describe the bug

yml内增加配置项暴露MariaDB端口,用docker模式安装以后,用本地数据库管理软件DBeaver无法连接MariaDB容器。

* Environment

  • NocoBase version: v1.0.0-alpha.14
  • Database type and version: MariaDB 11.3
  • OS: Windows
  • Deployment Methods: Docker
  • Docker image version: nocobase/nocobase:latest
  • NodeJS version:

* How To Reproduce

  1. yml内增加配置项
ports:
      - "3306:3306"
  1. docker-compose安装后,可通过localhost:13000正常访问NocoBase;
  2. 检查容器状态正常
CONTAINER ID   IMAGE                      COMMAND                   CREATED         STATUS         PORTS            
        NAMES
0d6e99fda07c   nocobase/nocobase:latest   "docker-entrypoint.s…"   6 seconds ago   Up 5 seconds   0.0.0.0:13000->80/tcp    app-mariadb-app-1
dffbf625c44f   mariadb:latest             "docker-entrypoint.s…"   6 seconds ago   Up 5 seconds   0.0.0.0:3306->3306/tcp   app-mariadb-mariadb-1
  1. 使用DBeaver连接,提示未知数据库
c5aa4a94da0433bd914d60134b26f47
  1. 用telnet检查端口,已开放
e1964d60630d6f1c25009f6767f18f2

Expected behavior

能够用本地数据库管理软件正常访问数据库,即DBeaver正常连接

Screenshots

Logs

@hongboji
Copy link
Contributor

hongboji commented May 23, 2024

这个问题和部署的服务器环境、端口、网络、docker配置相关,建议通过网络搜索排查解决,它不是nocobase的缺陷及使用问题。抱歉,不能帮你解决这个问题,我会关闭这个issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants