https://github.com/numtel/mysql-server-5.6-linux-x64
MySQL Server 5.6 for Linux x86 64-bit as NPM package
https://github.com/numtel/mysql-server-5.6-linux-x64
Last synced: 4 months ago
JSON representation
MySQL Server 5.6 for Linux x86 64-bit as NPM package
- Host: GitHub
- URL: https://github.com/numtel/mysql-server-5.6-linux-x64
- Owner: numtel
- Created: 2015-04-18T10:41:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-21T07:51:45.000Z (about 11 years ago)
- Last Synced: 2025-04-09T10:42:28.846Z (about 1 year ago)
- Language: PLpgSQL
- Size: 29.1 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MySQL Server 5.6 for Linux x86 64-bit
Install and run [MySQL server](http://www.mysql.com) under the current user inside of the application directory.
```
npm install mysql-server-5.6-linux-x64
```
* 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`](https://nodejs.org/api/child_process.html#child_process_class_childprocess).
* Only one instance may be spawned per application.
* `stop()` method added to returned `ChildProcess` instance to stop the server.
```javascript
var startMysql = require('mysql-server-5.6-linux-x64');
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`](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