0
点赞
收藏
分享

微信扫一扫

mysql字段乱序 information_schema

芷兮离离 2024-05-12 阅读 7

select COLUMN_NAME from information_schema.columns where table_name='collect_column_info' and table_schema = 'nz';

返回ASCII排列

导致

   sqoop import \

     --connect "jdbc:mysql://your_host/collect" \

     --username your_username \

     --password your_password \

     --table collect_column_info \

也乱序

systemctl restart mysql  后返回ASCII排列

再次systemctl restart mysql  后返回collect_column_info表里的字段顺序排列

举报

相关推荐

0 条评论