Search code examples
mysqldatabaselinuxmysqlimport

mysqlimport without mysql installation?


I'm trying to use mysqlimport to import text files to a mysql database. The problem is that the linux box I am importing the text files from will not have an installation of mysql and I am importing these files to a database on a different server. Does mysqlimport need to have a full installation of mysql to work? Can I just bring over the mysqlimport exe and some libraries? Cheers, Kaiser


Solution

  • Yes, you can use it standalone, among the options described here you can specify host to connect to, and the user and password to use. No need for the box where mysqlimport is to have the server installed.

    I believe you need nothing more that the RPM Package Client Utilities.