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

privilege/privileges: use pattern match to check dbRecord in mysql.db #4733

Merged
merged 4 commits into from Oct 11, 2017

Conversation

Projects
None yet
3 participants
@tiancaiamao
Contributor

tiancaiamao commented Oct 10, 2017

grant all privileges on `te%`.* to 'user'@'host';

This will create a record in mysql.db, all databases with name prefix 'te'
(such as 'test', 'temp') will be available to 'user'@'host'

privilege/privileges: use pattern match to check dbRecord in mysql.db
grant all privileges on `te%`.* to 'user'@'host';
This will create a record in mysql.db, all databases with name prefix 'te'
(such as 'test', 'temp') will be available to 'user'@'host'
@coocood

This comment has been minimized.

Show comment
Hide comment
@coocood

coocood Oct 10, 2017

Member

LGTM

Member

coocood commented Oct 10, 2017

LGTM

@zz-jason

This comment has been minimized.

Show comment
Hide comment
@zz-jason

zz-jason Oct 11, 2017

Member

/run-all-test

Member

zz-jason commented Oct 11, 2017

/run-all-test

@zz-jason

This comment has been minimized.

Show comment
Hide comment
@zz-jason

zz-jason Oct 11, 2017

Member

/run-all-test

Member

zz-jason commented Oct 11, 2017

/run-all-test

@tiancaiamao tiancaiamao merged commit c0bc20a into master Oct 11, 2017

11 checks passed

ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls First build on master at 72.587%
Details
jenkins-ci-tidb/build Jenkins job succeeded.
Details
jenkins-ci-tidb/common-test Jenkins job succeeded.
Details
jenkins-ci-tidb/integration-common-test Jenkins job succeeded.
Details
jenkins-ci-tidb/integration-ddl-test Jenkins job succeeded.
Details
jenkins-ci-tidb/mybatis-test Jenkins job succeeded.
Details
jenkins-ci-tidb/sqllogic-test Jenkins job succeeded.
Details
jenkins-ci-tidb/unit-test Jenkins job succeeded.
Details
license/cla Contributor License Agreement is signed.
Details

@tiancaiamao tiancaiamao deleted the tiancaiamao/pattern-match-db branch Oct 11, 2017

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