🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

mysql-server-5.6-linux-i386

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-server-5.6-linux-i386

MySQL Server 5.6 for Linux x86 32-bit

5.6.24002
latest
Version published
Weekly downloads
9
50%
Maintainers
1
Weekly downloads
 
Created

MySQL Server 5.6 for Linux x86 32-bit

Install and run MySQL server under the current user inside of the application directory.

npm install mysql-server-5.6-linux-i386
  • MySQL prerequisite libaio is included in this package and does not need to be installed separately.

Provides function for spawning MySQL server instance with optional configuration settings. Returns ChildProcess.

  • Only one instance may be spawned per application.
  • stop() method added to returned ChildProcess instance to stop the server.
var startMysql = require('mysql-server-5.6-linux-i386');

var mysqld = startMysql({ port: 3307 });

mysqld.stdout.on('data', function (data) {
  console.log('stdout: ' + data);
});

mysqld.stderr.on('data', function (data) {
  console.log('stderr: ' + data);
});

mysqld.on('close', function (code) {
  console.log('child process exited with code ' + code);
});

// Later on, stop server...
mysqld.stop();

See index.js for the default configuration options. Pass undefined or null for a given configuration key to skip including it even if it is specified in the defaults.

License

GPLv2

FAQs

Package last updated on 21 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts