Skip to content

Commit

Permalink
COnfigured mysql connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
sairamch04 committed Jul 4, 2016
1 parent 11c0542 commit 260efa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/hibernate.cfg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<session-factory>
<!-- Database connection settings -->
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.url">jdbc:mysql://localhost:3306/FoodyBuddy?createDatabaseIfNotExist=true&amp;amp;useUnicode=true&amp;amp;characterEncoding=utf-8&amp;amp;autoReconnect=true</property>
<property name="connection.username">guest</property>
<property name="connection.password">guest</property>
<property name="connection.url">jdbc:mysql://aakmacu1wa1p5j.cwussfxf1jzv.us-west-2.rds.amazonaws.com :3306/FoodyBuddy?createDatabaseIfNotExist=true&amp;amp;useUnicode=true&amp;amp;characterEncoding=utf-8&amp;amp;autoReconnect=true</property>
<property name="connection.username">admin</property>
<property name="connection.password">12345678</property>

<!-- SQL dialect -->
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
Expand Down

0 comments on commit 260efa3

Please sign in to comment.