# MySQL (InnoDB) 

**URL:** <https://forum.xojo.com/t/mysql-innodb/17108>\
**Category:** Databases\
**Created:** [June 7, 2014, 6:34pm UTC](https://forum.xojo.com/t/mysql-innodb/17108 "2014-06-07T18:34:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joost\_Rongen](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/a9a28c/32.png) [@Joost\_Rongen](https://forum.xojo.com/u/Joost_Rongen)\
**Post date:** [June 7, 2014, 6:34pm UTC](https://forum.xojo.com/t/mysql-innodb/17108/1 "2014-06-07T18:34:38Z")

</div>

I had some troubles with transactions while using the MySQLCommunityServer plugin.  
For MySQL I have to use “START TRANSACTION” instead of “BEGIN TRANSACTION” (SqlLite) and I saw my remote table-engine was MyIsam by default, while I wanted to use InnoDB in order to have transactions working.  
Shouldn’t it be a good practice to have create table queries like this: ?

```auto
sql = "CREATE TABLE Team2 (ID INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, Name TEXT, Coach TEXT, City TEXT) [b]ENGINE=INNODB[/b];
```

Just a question.

---

<div class="post-metadata">

**Author:** ![Joost\_Rongen](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/a9a28c/32.png) [@Joost\_Rongen](https://forum.xojo.com/u/Joost_Rongen)\
**Post date:** [June 7, 2014, 6:35pm UTC](https://forum.xojo.com/t/mysql-innodb/17108/2 "2014-06-07T18:35:23Z")

</div>

Mind “ENGINE=INNODB”

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 5:15pm UTC](https://forum.xojo.com/t/mysql-innodb/17108/3 "2020-10-29T17:15:39Z")

</div>


