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

Custom MySQL Port #191

Closed
tafoya opened this issue Nov 22, 2019 · 4 comments
Closed

Custom MySQL Port #191

tafoya opened this issue Nov 22, 2019 · 4 comments
Labels

Comments

@tafoya
Copy link

tafoya commented Nov 22, 2019

Is there an environment variable to specify a custom MySQL port?

@tafoya tafoya changed the title Custom MSSQL Port Custom MySQL Port Dec 1, 2019
@shoeper shoeper added the bug label Feb 11, 2020
@notSoWiseOldMan
Copy link

From a quick look at the code there doesn't appear to be. I would be interested in this feature as well.

@notSoWiseOldMan
Copy link

Looks like it can be set but the startup script hard codes the port when waiting for the db to come up.

It looks like env is just passed to setup-seafile-mysql.py here. Would it be as simple as adding 'MYSQL_PORT': get_conf('DB_PORT','3306'), to env and updating the wait function to read from the environment?

@notSoWiseOldMan
Copy link

Looks like someone even made a PR already: #161

@freeplant
Copy link
Member

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

No branches or pull requests

4 participants