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

added port recognition to db host #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

added port recognition to db host #37

wants to merge 1 commit into from

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