Document somewhere that InnoDB will be default if my.cnf doesn't force MyISAM

deekayen - June 28, 2009 - 19:35
Project:Project Issue File Review
Version:6.x-2.x-dev
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I don't know what any of the discussion, reasoning or intention is behind the INNO vs ISAM implementation on the server config. The "Add client" configuration makes it look like the server tells the client what table type to install, but my test client for 5.1 ISAM installs INNO tables. I don't know if I'm supposed to be modding my.cnf to set ISAM default, whether there's a bug that's supposed to make Drupal do it on the checkout's install, or what the core maintainers would like to have tested.

I'm just guessing at how to make them match, so here's a patch to make the server show 5.1 INNO instead of 5.1 ISAM.

AttachmentSize
51_client_installs_inno.patch2.41 KB

#1

deekayen - June 28, 2009 - 19:47

I guess it might be helpful for me to mention the client that installed INNO was Ubuntu 9.04 Jaunty. I got 5.1 from apt-get install mysql-server-5.1 instead of the regular mysql-server package.

#2

deekayen - June 29, 2009 - 07:32

#3

deekayen - June 30, 2009 - 16:24

Since 5.0 has ISAM and INNO, why doesn't 5.1 have both?

#4

boombatower - July 8, 2009 - 23:03
Status:needs review» postponed (maintainer needs more info)

Don't remember the original issue of discussion.

The idea was to test on 5.0 ISAM (fast and most popular first) as it will stop after any environment fails. Then hit the other two dbs...then test a 5.1 mysql (ISAM is faster) then make sure nothing weird happens on inno.

I am not sure what the point the patch is...the settings are there to instruct pifr what backend to use and on server what type of client it represents...they don't have anything to do with actual installation of Drupal 7...that needs to be setup whereever...default table type I don't know.

#5

philipnet - July 9, 2009 - 11:38
Component:Miscellaneous» Documentation
Status:postponed (maintainer needs more info)» active

@boombatower: then that needs documenting somewhere.

"Core now defaults to using MySQL's InnoDB storage engine rather than MyISAM."
see here: http://lists.drupal.org/pipermail/development/2009-May/033036.html

Suddenly the setting for MyISAM/InnoDB seem irrelevant.

#6

deekayen - August 8, 2009 - 02:17
Title:My 5.1 ISAM client installed INNO» Document somewhere that InnoDB will be default if my.cnf doesn't force MyISAM

#7

moshe weitzman - September 1, 2009 - 05:56

i read that one should set skip-innodb in my.cnf so that tables get myisam for sure.

 
 

Drupal is a registered trademark of Dries Buytaert.