Skip to content

Mysql-compatible datasource module for Ecelerity

Notifications You must be signed in to change notification settings

SparkPost/ds_mysql

Repository files navigation

ds_mysql

MySQL-compatible datasource module for Momentum

This is a public domain datasource driver for MySQL-compatible databases. If you are using Oracle's MySQL, you are responsible for ensuring that you have the proper license to run this module. It works equally well with the open-sourced MariaDB.

We include some basic tests that you can use to verify functionality using ec_runtests.pl. There are some setup steps you must perform before the tests can run; see TESTING.md for details. You must build and test this module on a licensed Momentum MTA instance, but once you build it, you can copy the module files to other servers and remove the development tools from the MTA.

Usage:

Install msys-role-mta and msys-ecelerity-devel metapackages in the directory you installed Momentum from:

cd /var/tmp/momentum-?????
./setrepodir
sudo yum install -y --config momentum.repo --enablerepo momentum msys-role-mta msys-ecelerity-devel

Install mysql-devel and mysql-server:

sudo yum install -y mysql-devel mysql-server

or on Centos-7:

sudo yum install -y mariadb-devel mariadb-server

Clone ds-mysql from GitHub (https://github.com/SparkPost/ds_mysql), you may need to install git to do this:

sudo yum install -y git

Build the ds-mysql code, install, and test:

cd <ds-mysql checkout directory>
make
sudo make install
make test

Caution

You have to install the ds_mysql driver before you can test, because we don't support out-of-tree modules.

About

Mysql-compatible datasource module for Ecelerity

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •