You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/11/18 06:16:16 UTC

[GitHub] [shardingsphere] azexcy opened a new pull request, #22252: Remove pipeline incremental task connecting MySQL use default database

azexcy opened a new pull request, #22252:
URL: https://github.com/apache/shardingsphere/pull/22252

   
   Changes proposed in this pull request:
     - Remove pipeline incremental task connecting MySQL use default database
   
   
   ---
   
   Before committing this PR, I'm sure that I have checked the following options:
   - [ ] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project.
   - [ ] I have self-reviewed the commit code.
   - [ ] I have (or in comment I request) added corresponding labels for the pull request.
   - [ ] I have passed maven check locally : `./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
   - [ ] I have made corresponding changes to the documentation.
   - [ ] I have added corresponding unit tests for my changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] azexcy commented on pull request #22252: Remove pipeline incremental task connecting MySQL use default database

Posted by GitBox <gi...@apache.org>.
azexcy commented on PR #22252:
URL: https://github.com/apache/shardingsphere/pull/22252#issuecomment-1319598754

   when use new user `test` to migration, use mysql client can login success.
   
   ```
   ➜  ~ mysql -u test -P3306 -h 127.0.0.1 -p
   Enter password:
   Welcome to the MySQL monitor.  Commands end with ; or \g.
   Your MySQL connection id is 724
   Server version: 8.0.27 MySQL Community Server - GPL
   
   Copyright (c) 2000, 2022, Oracle and/or its affiliates.
   
   Oracle is a registered trademark of Oracle Corporation and/or its
   affiliates. Other names may be trademarks of their respective
   owners.
   
   Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
   
   mysql> show grants for test;
   +------------------------------------------------------------------+
   | Grants for test@%                                                |
   +------------------------------------------------------------------+
   | GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO `test`@`%` |
   | GRANT ALL PRIVILEGES ON `ds_0`.* TO `test`@`%`                   |
   | GRANT ALL PRIVILEGES ON `ds_1`.* TO `test`@`%`                   |
   +------------------------------------------------------------------+
   3 rows in set (0.01 sec)
   
   mysql> SHOW MASTER STATUS;
   +---------------+-----------+--------------+------------------+-------------------+
   | File          | Position  | Binlog_Do_DB | Binlog_Ignore_DB | Executed_Gtid_Set |
   +---------------+-----------+--------------+------------------+-------------------+
   | binlog.000006 | 381622047 |              |                  |                   |
   +---------------+-----------+--------------+------------------+-------------------+
   1 row in set (0.00 sec)
   ```
   
   but when using migration, the exception thrown, error message follow
   ```
   Access denied for user 'test'@'%' to database 'mysql'
   ```
   
   so need fix it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] sandynz merged pull request #22252: Remove pipeline incremental task connecting MySQL use default database

Posted by GitBox <gi...@apache.org>.
sandynz merged PR #22252:
URL: https://github.com/apache/shardingsphere/pull/22252


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org