Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Conversation

@mgrundkoetter
Copy link

When using a different port than the default one, you can add it like host:port, but the PDO constructor expects another format:

new PDO('mysql:host=xxx;port=xxx;dbname=xxx', 'xxx', 'xxx', array( PDO::ATTR_PERSISTENT => false));

So this litte change now makes it possible to write host:port to the config and it will be reformatted correctly.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant