Replaced the mysql dependency with mariadb

To remain standard with the other applications.
Also updated documentation.
This commit is contained in:
Glenn Renfro
2016-06-27 11:44:10 -04:00
committed by Michael Minella
parent 0706e08137
commit 3ec0769e02
2 changed files with 9 additions and 2 deletions

View File

@@ -18,9 +18,16 @@ $ ./mvnw clean install
[source,shell,indent=2]
----
$ export spring_datasource_url=jdbc:mariadb://localhost:3306/<your databse>
$ export spring_datasource_username=<your username>
$ export spring_datasource_password=<your password>
$ export spring_datasource_driverClassName=org.mariadb.jdbc.Driver
$ java -jar -Dspring.profiles.active=master target/partitioned-batch-job-1.0.0.BUILD-SNAPSHOT.jar
----
NOTE: This example will use require a MySql RDBMS repository and currently uses the mariadb jdbc driver to connect.
You can changes this another driver based on your needs.
== Dependencies:
A datasource (not in memory) must be configured based on normal Spring Boot conventions

View File

@@ -55,8 +55,8 @@
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
</dependency>
<dependency>