MariaDB/MySQL database connection failed

Viewed 324

Database connection failed during installation.

image.png

Please describe your usage environment in detail.

  1. Are you using docker or binary deployment?
  2. If you are using docker, can you access the database from within docker?
  3. Whether the database has been created and the username and password are correct?
1 Answers

使用的是docker环境,数据库已成功创建,使用推荐的SQLite可以正常使用,但是换为MySQL时就无法进入,数据库地址是应该填写(127.0.0.1)还是真实IP,数据库的密码与用户名完全正确