Skip to content

Commit

Permalink
Beans configurada para banco de producao
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardosouzafaria committed Nov 15, 2018
1 parent 161e60b commit ae952c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/br/com/mantendoofoco/DataConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ae952c4

Please sign in to comment.