-
Notifications
You must be signed in to change notification settings - Fork 67
Add dbuser/dbpass options to privileged commands. #75
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
Conversation
src/DB_Command.php
Outdated
| * ## OPTIONS | ||
| * | ||
| * [--dbuser=<value>] | ||
| * : Username to pass to mysqlcheck. Defaults to DB_USER. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysqlcheck => mysql
src/DB_Command.php
Outdated
| * : Username to pass to mysqlcheck. Defaults to DB_USER. | ||
| * | ||
| * [--dbpass=<value>] | ||
| * : Password to pass to mysqlcheck. Defaults to DB_PASSWORD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysqlcheck => mysql
src/DB_Command.php
Outdated
| * ## OPTIONS | ||
| * | ||
| * [--dbuser=<value>] | ||
| * : Username to pass to mysqlcheck. Defaults to DB_USER. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysqlcheck => mysql
src/DB_Command.php
Outdated
| * : Username to pass to mysqlcheck. Defaults to DB_USER. | ||
| * | ||
| * [--dbpass=<value>] | ||
| * : Password to pass to mysqlcheck. Defaults to DB_PASSWORD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysqlcheck => mysql
src/DB_Command.php
Outdated
| * ## OPTIONS | ||
| * | ||
| * [--dbuser=<value>] | ||
| * : Username to pass to mysqlcheck. Defaults to DB_USER. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysqlcheck => mysql
src/DB_Command.php
Outdated
| * : Username to pass to mysqlcheck. Defaults to DB_USER. | ||
| * | ||
| * [--dbpass=<value>] | ||
| * : Password to pass to mysqlcheck. Defaults to DB_PASSWORD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysqlcheck => mysql
src/DB_Command.php
Outdated
| * : Use a specific character set. Defaults to DB_CHARSET when defined. | ||
| * | ||
| * [--dbuser=<value>] | ||
| * : Username to pass to the MySQL executable. Defaults to DB_USER. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the MySQL executable => mysql, to stay consistent with all of the other docblocks.
src/DB_Command.php
Outdated
| * : Username to pass to the MySQL executable. Defaults to DB_USER. | ||
| * | ||
| * [--dbpass=<value>] | ||
| * : Password to pass to the MySQL executable. Defaults to DB_PASSWORD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the MySQL executable => mysql, to stay consistent with all of the other docblocks.
Add dbuser/dbpass options to privileged commands.
Closes #74
Adds dbuser/dbpass options to all the heightened privilege commands, ie all except
prefix,search,sizeandtables.Also adds extra arguments option to
check,optimizeandrepairfor consistency with most of the other privileged commands.