mysql -u [USER] -p
CREATE SCHEMA faturadb DEFAULT COLLATE = utf8_general_ci CHARSET = utf8;
The MySQL Connector is support from MySQL 8 Version InnoDB
- Change database name
- Chage username and password
spring:
datasource:
url: jdbc:mysql://localhost:3306/[YOU_DB]?createDatabaseIfNotExist=true&serverTimeZone=UTC&sslMode=DISABLED
passoword: [YOU PASSWORD]
username: [YOU_USERNAME]
-- Before Upload in Spring, create Folder in OS
root~: sudo su
root~: sudo mkdir [PATH]/[FOLDER_NAME]
root~: chmod -R 7777 [PATH]/[FOLDER_NAME]
mkdir [PATH]/[FOLDER_NAME]
- In application.properties change you [PATH_FOLDER]
app.upload.baseUrl=[PATH]
app.upload.folderName=[FOLDER_NAME]
app.upload.absolutePath=${app.upload.baseUrl}/${app.upload.folderName}/