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
- Host: GitHub
- URL: https://github.com/sparkpost/ds_mysql
- Owner: SparkPost
- Created: 2020-02-18T17:53:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-25T13:20:51.000Z (over 1 year ago)
- Last Synced: 2024-12-29T11:49:23.145Z (9 months ago)
- Topics: on-prem, team-sd
- Language: Perl
- Size: 28.3 KB
- Stars: 0
- Watchers: 25
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ds_mysql
MySQL-compatible datasource module for MomentumThis 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-develInstall `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.