diff --git a/src/main/java/br/com/mantendoofoco/DataConfiguration.java b/src/main/java/br/com/mantendoofoco/DataConfiguration.java index abab7af..66ad5b3 100644 --- a/src/main/java/br/com/mantendoofoco/DataConfiguration.java +++ b/src/main/java/br/com/mantendoofoco/DataConfiguration.java @@ -16,9 +16,9 @@ public class DataConfiguration { public DataSource dataSource(){ DriverManagerDataSource dataSource = new DriverManagerDataSource(); dataSource.setDriverClassName("com.mysql.jdbc.Driver"); - dataSource.setUrl("jdbc:mysql://localhost:3306/mantendo-o-foco"); - dataSource.setUsername("root"); - dataSource.setPassword("root"); + dataSource.setUrl("jdbc:mysql://us-cdbr-iron-east-01.cleardb.net:3306/heroku_0bfd010abe48434"); + dataSource.setUsername("b3d900973edf84"); + dataSource.setPassword("1e258d22"); return dataSource; }