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

MariaDB Settings Ignored #131

Open
sduensin opened this issue Feb 19, 2023 · 6 comments
Open

MariaDB Settings Ignored #131

sduensin opened this issue Feb 19, 2023 · 6 comments

Comments

@sduensin
Copy link

The settings:

SQL_SERVER_ADDRESS=127.0.0.1
SQL_SERVER_PORT=3306

Seem to be ignored. Changing them does nothing. :-(

@iredmail
Copy link
Owner

  • Where do you save these 2 settings?
  • Did you restart container?

@sduensin
Copy link
Author

I put them in the env file when I first created the container. New info: All the databases were created on the internal MariaDB instance and not my main database server. However, when going to access Roundcube I get an error about not being able to reach the database. So maybe the apps are using the settings but not the initial DB creation?

@iredmail
Copy link
Owner

However, when going to access Roundcube I get an error about not being able to reach the database.

Is Roundcube configured to use correct sql username and password in /opt/www/roundcubemail/config/config.inc.php?

@sduensin
Copy link
Author

I assume so. I set the password for all the databases and told it not to randomize them.

@iredmail
Copy link
Owner

Please try to verify the SQL username / password with MySQL command line tool, make sure it's actually correct.

@sduensin
Copy link
Author

I think the problem is that during startup it's ignoring the SQL_SERVER_* settings and later is honoring them. When I set it to my own server, the tables are still created in the MariaDB instance that is part of the iRedMail Docker image. I don't want to use that instance as all my other data is in another server.

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