HI, i am back An error occurred when I migrated data from MySQL to OceanBase:【 DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near ':= @OLD_SQL_MODE, @@SQL_QUOTE_SHOW_CREATE := @OLD_QUOTE /' at line 1 [for Statement "/!40101 SET @@SQL_MODE := @OLD_SQL_MODE, @@SQL_QUOTE_SHOW_CREATE := @OLD_QUOTE */"] at /usr/bin/pt-archiver line 1932.】 I'm not a Perl programmer. But by reading the source code and making some changes, the migration was done successfully, so I submit this report - [x] The contributed code is licensed under GPL v2.0 - [x] Contributor Licence Agreement (CLA) is signed - [x] util/update-modules has been ran - [x] Not involved Documention updated - [x] Not involved Test suite update
Percona Toolkit
Percona Toolkit is a collection of advanced command-line tools used by Percona support staff to perform a variety of MySQL and system tasks that are too difficult or complex to perform manually.
These tools are ideal alternatives to private or "one-off" scripts because they are professionally developed, formally tested, and fully documented. They are also fully self-contained, so installation is quick and easy and no libraries are installed.
Percona Toolkit is developed and supported by Percona Inc. For more information and other free, open-source software developed by Percona, visit http://www.percona.com/software/.
Installing
To install all tools, run:
perl Makefile.PL
make
make test
make install
You probably need to be root to make install. On most systems, the tools
are installed in /usr/local/bin. See the INSTALL file for more information.
Documentation
Run man percona-toolkit to see a list of installed tools, then man tool
to read the embedded documentation for a specific tool. You can also read
the documentation online at http://www.percona.com/software/percona-toolkit/.