Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

MartinWessel
2009-12-29 12:48:18

Thanks for the description. It works perfect!

shong
2009-12-29 05:41:39

Hello
The default storage engine can be changed at server startup or at runtime:

    * The default storage engine can be specified at server startup with the --default-storage-engine option.
    * For a running server, an administrator who has the SUPER privilege can change the default storage engine globally for all clients by setting the global storage_engine system variable:

Code:

      SET GLOBAL storage_engine = engine_name;

Setting the storage engine this way affects any client that connects after the statement executes. Clients that are connected at the time of statement execution are unaffected.
    * Any client can change its own default storage engine by issuing either of these statements:

Code:

      SET SESSION storage_engine = engine_name;

or
 

Code:

SET storage_engine = engine_name;

In talend, you can use tMysqlRow to execute a sql statement and change the storage engine at the runtime before tCreateTable.
"SET SESSION storage_engine = InnoDB"

Best regards

         shong

MartinWessel
2009-12-28 17:50:22

I would like to create a MySql table that uses the InnoDB engine and not the default engine MyISAM.
Currently I don't see a way to do this using the tCreateTable component.

Board footer

Powered by FluxBB