Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. <beans profile="devRemote">
  2. <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  3. <property name="driverClassName" value="com.mysql.jdbc.Driver" />
  4. <property name="url" value="jdbc:mariadb://192.168.0.59:3307/DEVDB" />
  5. <property name="username" value="maria" />
  6. <property name="password" value="maria" />
  7. </bean>
  8. </beans>
  9. <beans profile="live">
  10. <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  11. <property name="driverClassName" value="com.mysql.jdbc.Driver" />
  12. <property name="url" value="jdbc:mariadb://127.0.0.1:3307/DEVDB" />
  13. <property name="username" value="root" />
  14. <property name="password" value="" />
  15. </bean>
  16. </beans>
  17.  
  18. 2017-07-02 20:15:55 DEBUG SqlExceptionHelper:139 - Could not open connection [n/a]
  19. java.sql.SQLException: No suitable driver found for jdbc:mariadb://127.0.0.1:3307/DEVDB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement