An API for the MySQL data source template.
- To install, first edit the configuration file, located in
src/epiviz/epi/Config.php
:
VERSION
: Corresponds to the version of the Epiviz data protocol. The default is3
.DATASOURCE
: The name of your data source (can be anything).DATABASE
: The exact name of your MySQL schema containing the tables corresponding to the data source.SERVER
: The location of the server containing the data source. If it is located on the same machine, you can uselocalhost
.USERNAME
andPASSWORD
: The credentials for your database instance.
- When using IIS (Windows), when first setting up the server, you see
HTTP Error 500.19 - Internal Server Error. This is because of the
rewrite rule in
Web.config
. To mitigate this, you need to install Microsoft's URL Rewrite Module.