An open API service indexing awesome lists of open source software.

https://github.com/sparkpost/ds_mysql

Mysql-compatible datasource module for Ecelerity
https://github.com/sparkpost/ds_mysql

on-prem team-sd

Last synced: 8 months ago
JSON representation

Mysql-compatible datasource module for Ecelerity

Awesome Lists containing this project

README

          

# 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](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
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.