Guest User

Untitled

a guest
Aug 8th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. create database dbName CHARACTER SET utf8 COLLATE utf8_bin;
  2. create user 'theUser'@'localhost' identified by 'thePassword';
  3. grant all privileges on dbName.* to 'theUser'@'localhost';
  4.  
  5. db.url=jdbc:mysql://localhost/dbNAme?useConfigs=maxPerformance&characterEncoding=utf8&innodb_flush_log_at_trx_commit=0
  6. db.driver=com.mysql.jdbc.Driver
  7. db.username=theUser
  8. db.password=thePassword
  9.  
  10. mysql.optional.tabledefs=CHARSET=utf8 COLLATE=utf8_bin
  11. db.url=jdbc:mysql://localhost/6showcase?useConfigs=maxPerformance&characterEncoding=utf8&useSSL=false
  12. db.driver=com.mysql.jdbc.Driver
  13. db.username=root
  14. db.password=root
  15.  
  16. ERROR [localhost-startStop-8] [DataSourceImpl] error connecting to DataSource having url jdbc:mysql://localhost/6showcase?useConfigs=maxPerformance&characterEncoding=utf8&useSSL=false: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long
  17. Aug 08, 2018 11:34:11 AM org.apache.catalina.core.StandardContext listenerStart
  18. SEVERE: Exception sending context initialized event to listener instance of class [de.hybris.platform.spring.HybrisContextLoaderListener]
Add Comment
Please, Sign In to add comment