Page 1 of 1

Unable to migrate to MySQL DB

Posted: Mon Jun 08, 2015 3:32 pm
by gzemlyakov
Hello,

I am using Broadleaf Commere Demo which I downloaded from github master branch. Everything is fine while I use HSQLDB but I can not to run application when I switch database to MySQL according to this guide http://www.broadleafcommerce.com/docs/c ... l-tutorial. I performed every step from this guide besides changes of my.cnf file(I use MySQL 5.6.25 and I could not find this file).
There are a lot of errors during SQL script execution. After server running when I try to open url http://localhost:8080 I get 404 error with the following logs:
[artifact:mvn] [ WARN] 17:19:57 PageNotFound - No mapping found for HTTP request
with URI [/] in DispatcherServlet with name 'mycompany'
What is the possible cause of this error? I want to inspect how data is added to database and make some customization in broadleaf framework so using Broadleaf demo site with MySQL is crucial for me.
If there a way to inspect data of HSQLDB?

Thanks in advance for any help.

Re: Unable to migrate to MySQL DB

Posted: Wed Jun 17, 2015 2:07 pm
by phillipuniverse
I performed every step from this guide besides changes of my.cnf file


You will likely need to create this file

What is the possible cause of this error?


Something didn't get into the database. Were there any problems on startup? Usually if Hibernate cannot import something or connect to MySQL you'll get an error log.