MySql bulk load command line tool

后端 未结 4 2008
借酒劲吻你
借酒劲吻你 2020-11-30 07:28

Does MySql have a bulk load command line tool like bcp for SQLServer and sqlldr for Oracle? I know there\'s a SQL command LOAD INFILE or similar but I sometime

4条回答
  •  情书的邮戳
    2020-11-30 07:40

    mysql -u root -p
    use database;
    source /path/yourfile.sql
    

    Might be what you are looking for, you can use rsync via ssh to transfert the 'bulk file' from a machine to another.

提交回复
热议问题