create schema in version 6.0.4 for mysql 5.5.27 [message #900626] |
Tue, 07 August 2012 20:13 |
Florian Kammermann Messages: 19 Registered: July 2012 |
Junior Member |
|
|
When I tried directly with sysconsole:
bin/sysconsole.sh -v -r com.mysql.jdbc.Driver -dbtype MYSQL -dbschema audittrail -l jdbc:mysql://localhost:3306/audittrail -d stardust -s stardust createschema
I got this failure:
Operation could not be performed: Invalid TX isolation level 4, requiring TRANSACTION_READ_COMMITTED (2)
So I generated the ddl manually:
bin/sysconsole.sh -v -dbtype MYSQL ddl -file mysql_audittrail.sql -schemaName audittrail
Tried the first line:
CREATE TABLE audittrail.activity_instance (oid BIGINT AUTO_INCREMENT PRIMARY KEY, state INT, startTime BIGINT, lastModificationTime BIGINT, model BIGINT, activity BIGINT, currentPerformer BIGINT, currentUserPerformer BIGINT, performedBy BIGINT, currentDepartment BIGINT, processInstance BIGINT) TYPE=InnoDB;
I got this failure:
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 'TYPE=InnoDB' at line 1
Looks like TYPE=InnoDB is no longer supported:
dev.mysql.com/doc/refman/5.0/en/using-innodb-tables.html
removed then all the TYPE=InnoDB and it worked
|
|
|
|
Re: create schema in version 6.0.4 for mysql 5.5.27 [message #902124 is a reply to message #900626] |
Thu, 16 August 2012 05:13 |
|
...what Hebert said.
See documentation on MySql setup:
Setting transaction-isolation to READ-COMMITTED:
Configure the %MYSQL_INSTALL%/mysql.ini file, to contain the following entries in the [mysqld] section:
[mysqld]
# set basedir to your installation path
basedir=%MYSQL_INSTALL%
# set datadir to the location of your data directory
datadir=%MYSQL_DATA%
# set transaction isolation level to read-committed as required by Infinity
transaction-isolation = READ-COMMITTED
Best
Rob
|
|
|
Powered by
FUDForum. Page generated in 0.03247 seconds