Loading...
 
Skip to main content

InnoDB


The rest of this page is only kept for posterity.

Introduction

[+]

Wishes

Open

Rating Subject Submitted By Importance Easy to solve ? Priority Category Volunteered to solve Created Modified
(0) Last Actions module causes system error Gary Cunningham-Lee 8 8 64
  • Error
  • Easy for Newbie Dev
12 Oct 22 03 Nov 22
(0) Database update; Updating a 21.5 database to 21.8 failed with errors Bernard Sfez / Tiki Specialist 7 5 35
  • Error
13 Mar 23 13 Mar 23
(0) Help needed on Migration of trac users to tiki Gary Cunningham-Lee 7 5 35
  • Support request
29 Sep 21 07 Oct 21
(0) Console rebuilding Index spits out offset and non-numeric errors related to Add.php, feature.php and ItemsList.php Kevin Doyle 6 5 30
  • Bug
08 Jan 23 08 Jan 23
(0) Manticore install and configuration Kevin Doyle 5 5 25
  • Documentation (or Advocacy)
20 Sep 23 20 Sep 23
(0) Server Check; Compatibility error (wss/ping?) while all row says versions and settings are good Bernard Sfez / Tiki Specialist 5 5 25
  • Regression
27 Dec 22 27 Dec 22
(0) tiki-browse_categories.php order of magnitude slower to load compared to other tiki-function_subfunction pages Kevin Doyle 5 5 25
  • Usability
08 Dec 23 11 Feb 26
(0) Installer timeout issue Nelson Ko 6 4 24
  • Error
19 May 14 20 May 14
(0) Tiki 15.0 Alpha Installer complains about invalid characters in database name T15T neubert 4 20
  • Usability
20 Mar 16 20 Mar 16
(0) SQL error when using wikiplugin_contributionsdashboard rjsmelo 3 3 9
  • Error
26 Jun 19 26 Jun 19

Pending

Fixed

Rating Subject Submitted By Importance Easy to solve ? Priority Category Volunteered to solve Created Modified
(0) Control panels save or login action, gives page with db errors Wiebe 10 5 50
  • Error
29 Jan 19 08 Feb 19
(0) Index error on tiki tracker (built-in) fields and BLOB/TEXT error after recent update of Tiki22 Bernard Sfez / Tiki Specialist 10 5 50
  • Error
  • Regression
  • Upgrade Blocker
10 Feb 21 04 Jul 21
(0) Database update error on upgrading a Tiki21 to Tiki22 Bernard Sfez / Tiki Specialist 7 5 35
  • Error
  • Upgrade Blocker
01 Oct 20 07 Oct 20
(0) Index rebuilt error or warning about prefslib.php but not detailed in the logs Bernard Sfez / Tiki Specialist 5 5 25
  • Regression
  • Feature request
29 Sep 20 30 Nov 22
(0) Verbose lost when MySQL is not running (on MAMP ?) Bernard Sfez / Tiki Specialist 5 5 25
  • Regression
07 Oct 20 04 Jul 21
(0) Installation script, Database update; Error when updating the database (from the install script) Bernard Sfez / Tiki Specialist 5 5 25
  • Error
12 Nov 22 18 Nov 22
(0) Installer, Updating the database from the Tiki installer failed and need to be done using the console Bernard Sfez / Tiki Specialist 5 5 25
  • Bug
01 Nov 23 12 Feb 24
(0) Database, Console; Database update doesn't complete on a Debian11 server (Virtualmin) Bernard Sfez / Tiki Specialist 5 5 25
  • Regression
27 Dec 22 29 Dec 22
(1) 12.2: Install with InnoDB never ends the db population step Xavier de Pedro 4 4 16
  • Error
20 May 14 21 May 14


Interested community members

No results for query.

Database upgrades

When adding an engine dependent patch, the engine independent SQL must be put in the YYYYMMDD_description_tiki.sql file. The engine dependent parts must be put in an accompanying php file, specifying a post_YYYYMMDD_description_tiki function.
Example: Add a table with a fulltext index

20110918_tiki_test_tiki.sql
Copy to clipboard
DROP TABLE IF EXISTS `tiki_test`; CREATE TABLE `tiki_test` ( `title` varchar(255) default NULL, KEY `title` (`title`) ) ENGINE=MyISAM;

and a PHP file specifying the engine dependent part

20110918_tiki_test_tiki.php
Copy to clipboard
function post_20110918_tiki_test_tiki( $installer ) { if($installer->isMySQLFulltextSearchSupported()) { $installer->query( "CREATE FULLTEXT INDEX ft_test ON tiki_test(`title`);"); } }

ToDo

If the config search "Preference Filters" is set to Advanced, "MySQL Full-Text Search" is still displayed in the results. It shouldn't be.

Migrating existing databases to InnoDB

Migration steps

  1. Make sure InnoDB is integrated in the standard/SVN Tiki release. Otherwise you may be unable to do any upgrades later.
  2. Do a full backup of your current database/installation
  3. Upgrade to the latest Tiki version (8.0 SVN or later).
  4. Disable MySQL fulltext search in Tiki. It's not supported by InnoDB, and you won't be able to disable it from the GUI after the conversion
  5. Drop all MyISAM fulltext indexes
  6. Alter the database engine for all tables to InnoDB


Steps 5 and 6 are defined in the file db/tiki_convert_myisam_to_innodb.sql.

To be tested

  • TRIM (would be nice that it works here too...)

Collapse/expand modules below
Show PHP error messages