diff --git a/src/main/resources/application-awsmysql.properties b/src/main/resources/application-awsmysql.properties new file mode 100644 index 000000000..7d1c6af45 --- /dev/null +++ b/src/main/resources/application-awsmysql.properties @@ -0,0 +1,7 @@ +# database init, supports mysql too +database=mysql +spring.datasource.url=${MYSQL_URL:jdbc:mysql://spring-petclinic-javierpc-my.cleod0mwnajb.us-east-1.rds.amazonaws.com/petclinic} +spring.datasource.username=${MYSQL_USER:JavierPC} +spring.datasource.password=${MYSQL_PASS:Admin123} +# SQL is written to be idempotent so this is safe +spring.sql.init.mode=always \ No newline at end of file