Default Table Type

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
JamesBrown
Posts: 16
Joined: Thu 28 Apr 2011 23:41

Default Table Type

Post by JamesBrown » Thu 12 May 2011 21:37

In Ver 5.0.30 the default table type is INNODB. Is there a way to change this to MYISAM?

.jp
Devart Team
Posts: 345
Joined: Wed 09 Sep 2009 06:55
Location: devart

Post by .jp » Fri 13 May 2011 06:26

dbForge Studio uses the state of the server "default_storage_engine" variable. To check it please run the following query:

Code: Select all

SHOW VARIABLES LIKE 'default_storage_engine';
Change the value of this variable and you will solve this problem.

JamesBrown
Posts: 16
Joined: Thu 28 Apr 2011 23:41

Getting Close

Post by JamesBrown » Fri 13 May 2011 14:26

Yes I see the Server Variable but I cannot seem to change it. The docs. say:

"To change variable value, click in the Value column for the required variable row and edit variable. Press ENTER to apply changes or ESC to discard them"

But this does not seem to work.

I'm a nube at this so I will need some additional help.

Thanks......... Jim

.jp
Devart Team
Posts: 345
Joined: Wed 09 Sep 2009 06:55
Location: devart

Post by .jp » Fri 13 May 2011 15:17

It is not a session variable, so you cannot change it "on the fly".
You first should locate the MySQL config file named my.cnf (or my.ini). Then in that file find the [mysqld] and add the following line below it as shown below.

Code: Select all

[mysqld]
default-storage-engine = myisam
You also should make sure you restart MySQL server.

JamesBrown
Posts: 16
Joined: Thu 28 Apr 2011 23:41

Works

Post by JamesBrown » Fri 13 May 2011 15:23

Sweet - Thanks much...

JamesBrown
Posts: 16
Joined: Thu 28 Apr 2011 23:41

Well I thought It Was Fixed

Post by JamesBrown » Sun 15 May 2011 00:37

I changed the MySQL conf file as you suggested and restarted the server (actually rebooted to be sure) and the:

Show Variables Like 'default_storage_engine';

does show the value is MyISAM but.
Studio for MySQL still defaults to INNODB.

Is this a bug?

Viktor
Devart Team
Posts: 68
Joined: Thu 06 May 2010 08:12

Post by Viktor » Mon 16 May 2011 10:25

Is this a bug?
Yes, this is a bug. It will be fixed in the next build.

.jp
Devart Team
Posts: 345
Joined: Wed 09 Sep 2009 06:55
Location: devart

Post by .jp » Thu 19 May 2011 06:20

Viktor wrote:
Is this a bug?
Yes, this is a bug. It will be fixed in the next build.
The build with fixes is on the site. Please download it.

Post Reply