Skip to content

Add setting to define custom MySQL port. #860

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

Merged
merged 1 commit into from
Jul 16, 2018

Conversation

noplanman
Copy link
Member

MySQL credentials array now allows a port parameter to be set:

$mysql_credentials = [
   'host'     => 'localhost',
   'port'     => 3306,        // new optional parameter
   'user'     => 'dbuser',
   'password' => 'dbpass',
   'database' => 'dbname',
];

Fixes #857

@noplanman noplanman requested a review from a team July 14, 2018 11:18
Copy link
Member

@akalongman akalongman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@noplanman noplanman merged commit ce67917 into php-telegram-bot:develop Jul 16, 2018
@noplanman noplanman deleted the 857-mysql_port branch July 16, 2018 11:48
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

Successfully merging this pull request may close these issues.

2 participants