---
name: "Wiki::Toolkit::Setup::DBIxFTSMySQL"
section: "3pm"
platform: "linux"
package: "libwiki-toolkit-perl"
version: "0.86-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Wiki::Toolkit::Setup::DBIxFTSMySQL"
---

# Wiki::Toolkit::Setup::DBIxFTSMySQL(3pm)

set up fulltext indexes for Wiki::Toolkit

## NAME

Wiki::Toolkit::Setup::DBIxFTSMySQL - set up fulltext indexes for Wiki::Toolkit

## SYNOPSIS

```
  use Wiki::Toolkit::Setup::DBIxFTSMySQL;
  Wiki::Toolkit::Setup::DBIxFTSMySQL::setup($dbname, $dbuser, $dbpass, $dbhost);
```

Omit `$dbhost` if the database is local.

## DESCRIPTION

Set up DBIx::FullTextSearch indexes for use with Wiki::Toolkit. Has only one function, `"setup"`, which takes as arguments **either** the database name, the username and the password **or** a database handle . The username must be able to create and drop tables in the database.

The `$dbhost` argument is optional -- omit it if the database is local.

Note that any pre-existing Wiki::Toolkit indexes stored in the database will be *cleared* by this function, so if you have existing data you probably want to use the `"store"` parameter to get it re-indexed.

## AUTHOR

Kake Pugh (kake@earth.li).

## COPYRIGHT

```
     Copyright (C) 2002-2004 Kake Pugh.  All Rights Reserved.
```

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

## SEE ALSO

Wiki::Toolkit, Wiki::Toolkit::Setup::MySQL, DBIx::FullTextSearch
