Caused by: com.mysql.cj.exceptions.CJException: Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'
ISSUE TYPE
- Bug Report
COMPONENT NAME
Webapp
CLOUDSTACK VERSION
4.14
##### CONFIGURATION
MySQL Version - 8.0.22
MySQL Connector Java - 5.1.25
##### OS / ENVIRONMENT
Centos 7
##### SUMMARY
I get the below error while starting the cloudstack management service.
Caused by: com.mysql.cj.exceptions.CJException: Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'
@iyappan-dcis you want to wait until 4.15 to use MySQL8 with the latest mysql connector. There's a 4.15RC2 up for voting that you can test, see the dev ML https://markmail.org/message/jtsunp2z7rwl2zm7
sql_mode can be set via db.properties too at /etc/cloudstack/management
@rhtyd Thanks for the update. How to we populate schema on the database, I don't see a command that populates the schema on database?
@iyappan-dcis did you follow the user install instructions from
http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html or from
http://docs.cloudstack.apache.org/en/latest/installguide/index.html
especially the cloudstack-setup-databases scripts
if you get stuck please subscribe to [email protected], To join the users mailing list email [email protected]., and ask for help there.
Are you fix this error ? @iyappan-dcis . i got same error
this is fixed in 4.15/master.
mysql8 is not supported in 4.14
@uttruongson1995 @iyappan-dcis you're welcome to test the on-going 4.15RC3, see the thread - https://markmail.org/message/2hc34ete6se5tci6
This is fixed in 4.15.0.0, and master. Closing on this remark, pl upgrade/use the latest release.