Wiki::...SMySQL(3pm)

πŸ“¦
version 0.86 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Wiki::Toolkit::Setup::DBIxFTSMySQL β€” the lil setup script that gets your fulltext indexes ready for Wiki::Toolkit πŸ’…

(it lives in the User Contributed Perl Documentation section of your man pages, bestie β€” that's where all the good stuff hides 🫢)


🌸 SYNOPSIS 🌸

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

Lowkey important: omit $dbhost if the database is local. That's it, that's the whole vibe check ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea β˜• β€” this module sets up DBIx::FullTextSearch indexes so you can actually use them with Wiki::Toolkit.

It has exactly one function, setup, and no more. Main character energy, no entourage πŸ’β€β™€οΈ

setup takes as its arguments either:

  • the database name, the username and the password, or
  • a database handle

Either way works, pick your fighter πŸŽ€

Heads up: the username you pass in must be able to create and drop tables in the database. No table-dropping permissions, no setup. Periodt. πŸ‘‘

The $dbhost argument is optional β€” omit it if the database is local 🏠

⚠️ Okay so listen, this part matters: any pre-existing Wiki::Toolkit indexes stored in the database will be cleared by this function. Like, gone. Yeeted. 😭 So if you've got existing data, you probably want to use the "store" parameter to get it re-indexed. Don't say I didn't warn you fr fr πŸ’€

🧚 AUTHOR 🧚

Kake Pugh (kake@earth.li) β€” icon, legend, the moment πŸ‘‘


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. Slay, open source 🫢


🌈 SEE ALSO 🌈

  • Wiki::Toolkit
  • Wiki::Toolkit::Setup::MySQL
  • DBIx::FullTextSearch

Go read those next, bestie, iykyk πŸ“šβœ¨


and that's a wrap! πŸ’– this lil page came from perl v5.32.0, dated 2021-01-04 β€” so yeah, she's a vintage queen but she still ate πŸ‘‘πŸ’…

πŸ“¦ where this page comes from