ORM - Hibernate
Database - MySQL (8.0.21)
###Installation/Configuration:
-
Installation for MySQL on OSX/Windows:
https://dev.mysql.com/doc/mysql-osx-excerpt/5.7/en/osx-installation-pkg.html
-
Installation of MySQL Workbench on OSX/Windows:
https://dev.mysql.com/downloads/workbench/
-
MySQL configuration (please use this password while installing MySQL):
Hostname: localhost, Port: 3306, Username: root, Password: 12345678 (or the one given by you during installation in #1)
-
MySQL schema:
Create new schema
milestone4
in MySQL Workbench (Right click in Left Pane nearsys
, and selectCreate new schema
) -
MySQL scripts (before launching Fx Application):
Go to
src/main/resources/scripts
-> RunCREATE_TABLES.sql
and then RunCONSOLIDATED_INSERTS.txt
in serial order -
JDK Used - 1.8
JavaFx comes along till JDK 1.8, if you use advanced versions, you need to install JavaFx separately
###Common Issues
-
OSX -
mysql-8.0.21-macos10.15-x86_64.pkg” can’t be opened because Apple cannot check it for malicious software.
If you see above error while installing MySQL on OSX, go to System Preferences > Security & Privacy > General > Click Open Anyway
-
OSX -
MySQL is installed but is not starting.
Use MySQL Preference Pane (
https://dev.mysql.com/doc/mysql-osx-excerpt/5.7/en/osx-installation-prefpane.html
) to Start MySQL server.