I'm developing an enterprise management system using: JS, Java 8.91, Tomcat 8.5.4 and MySQL 5.7.
The system has many databases:
Main Database that stores user's information(login, password, email and user's database name).
User's Database, stores user's company information. When an user signs up, Hibernate creates a new DB for the new User.
It works perfectly on Windows but when I test it on UbuntuServer 16.04 64x, some bugs/issues happens, Hibernate:
- Duplicates almost every table from MainDB(example: it duplicates table "users". creates a new table "Users").
- When hibernate creates User's DB, it mess with tables name(example: hibernate should create a table named "address", but it creates a table named "Address" instead).
Honestly I don't know what's happening, I never saw this before and I don't know how to solve it. Every help/tip will be appreciated.