Hi Ronald,
I am trying to install 2.10 in red hat 8.6
mysql Ver 8.0.26
When executing the step "
Create and initialise the database tables"
it gives:
[schedulix@schdap01 sql]$ mysql --user=schedulix --password=schedulix_password --database=schedulixdb --execute="source mysql/install.sql"
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1064 (42000) at line 32 in file: 'mysql/init.sql': 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 'GROUPS (ID, NAME, DELETE_VERSION, CREATOR_U_ID, CREATE_TS, CHANGER_U_ID, CHA' at line 1
Seems there is something in the table "GROUP"
[schedulix@schdap01 sql]$ mysql --user=schedulix --password=schedulix_password --database=schedulixdb --execute="desc GROUPS;"
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1064 (42000) at line 1: 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 'GROUPS' at line 1
After adding schedulixdb.GROUPS instead of GROUPS in mysql/init.sql.
The step can be executed without error.
[schedulix@schdap01 sql]$ mysql --user=schedulix --password=schedulix_password --database=schedulixdb --execute="desc schedulixdb.GROUPS;"
mysql: [Warning] Using a password on the command line interface can be insecure.
+----------------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+---------------+------+-----+---------+-------+
| ID | decimal(20,0) | NO | PRI | NULL | |
| NAME | varchar(64) | NO | | NULL | |
| DELETE_VERSION | decimal(20,0) | NO | | NULL | |
| CREATOR_U_ID | decimal(20,0) | NO | | NULL | |
| CREATE_TS | decimal(20,0) | NO | | NULL | |
| CHANGER_U_ID | decimal(20,0) | NO | | NULL | |
| CHANGE_TS | decimal(20,0) | NO | | NULL | |
+----------------+---------------+------+-----+---------+-------+
No sure there are any other scripts or configuration table need to change or not.
Thanks.
John Tsui
11.May.2022