You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to deploy a new keystone server with a mysql database in version 8.0 yields the following error:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near 'IDENTIFIED BY 'keystone' at line 1.
It is because of these commands in the launch script:
Mysql 5.7, on the other hand, might not support CREATE USER ...IF NOT EXISTS. So a full solution to this problem should try both syntaxes to support both versions.
The text was updated successfully, but these errors were encountered:
Trying to deploy a new keystone server with a mysql database in version 8.0 yields the following error:
It is because of these commands in the launch script:
fiware-keystone-spassword/docker/postlaunchconfig.sh
Lines 54 to 58 in 71f6ecc
Mysql 8 deprecates the syntax
GRANT ... IDENTIFIED BY
, requiring two separate statements (CREATE USER
andGRANT PRIVILEGES
). See https://stackoverflow.com/questions/13357760/mysql-create-user-if-not-existsMysql 5.7, on the other hand, might not support
CREATE USER ...IF NOT EXISTS
. So a full solution to this problem should try both syntaxes to support both versions.The text was updated successfully, but these errors were encountered: