read

Was trying to upload a sql file through drupal's built in FTP in order to migrate a database. There was an upload limit that I needed to bypass. By zipping up the file I was able to get around the upload limit.

  1. navigate to your mysql/bin directory
  2. mysqldump -u username databasename > thesqlfile.sql
  3. gzip thesqlfile.sql

And done. A zipped up sql file ready to be uploaded.

Blog Logo

Grant Nicholas


Published