dump-mysql

Simple MYSQL Dump

Usage no npm install needed!

<script type="module">
  import dumpMysql from 'https://cdn.skypack.dev/dump-mysql';
</script>

README

Dump-MySQL

A simple module to download a MYSQL database to the current working directory. This does NOT rely on mysqldump being installed, as it is not used.

Can be used with dump-ftp for a full website backup.

Installation:

npm install dump-mysql --save

Usage:

var dMySQL = require('dump-mysql');

var connection = {
    host: 'dbHost',
    port: 21, //change if required
    user: 'dbUser',
    password: 'dbPassword'
}; 

var dump = new dMySQL(connection).dump();

Release History:

  • 1.0.0 Initial Release
  • 1.0.1 Documentation