MySQL
1 | [root@master tmp]# ls |
1 | [root@master ~]# mysql_config_editor set --login-path=client --user=root --host=localhost --port=3306 --password |
导出结果集到文件
1 | mysql> select * from test.jobs into outfile '/tmp/db_test_tb_jobs'; |
1 | mysql> pager cat >> /tmp/db_test_tb_jobs; |