Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wiki-toolkit-setupdb(1p) [debian man page]

WIKI-TOOLKIT-SETUPDB(1p)				User Contributed Perl Documentation				  WIKI-TOOLKIT-SETUPDB(1p)

NAME
wiki-toolkit-setupdb - Set up a database storage backend for Wiki::Toolkit. SYNOPSIS
# Set up or update the storage backend, leaving any existing data # intact. Useful for upgrading from old versions of Wiki::Toolkit to # newer ones with more backend features. wiki-toolkit-setupdb --type postgres --name mywiki --user wiki --pass wiki --host 'db.example.com' # Clear out any existing data and set up a fresh backend from scratch. wiki-toolkit-setupdb --type postgres --name mywiki --user wiki --pass wiki --force-preclear DESCRIPTION
Takes three mandatory arguments: type The database type. Should be one of 'postgres', 'mysql' and 'sqlite'. name The database name. user The user that connects to the database. It must have permission to create and drop tables in the database. two optional arguments: pass The user's database password. host The hostname of the machine the database server is running on (omit for local databases). and one optional flag: force-preclear By default, this script will leave any existing data alone. To force that to be cleared out first, pass the "--force-preclear" flag. AUTHOR
Kake Pugh (kake@earth.li). COPYRIGHT
Copyright (C) 2002-2003 Kake Pugh. All Rights Reserved. Copyright (C) 2006 the Wiki::Toolkit team. All Rights Reserved. This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Wiki::Toolkit perl v5.14.2 2011-09-25 WIKI-TOOLKIT-SETUPDB(1p)

Check Out this Related Man Page

Wiki::Toolkit::Setup::DBIxFTSMySQL(3pm) 		User Contributed Perl Documentation		   Wiki::Toolkit::Setup::DBIxFTSMySQL(3pm)

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 perl v5.14.2 2011-09-25 Wiki::Toolkit::Setup::DBIxFTSMySQL(3pm)
Man Page

5 More Discussions You Might Find Interesting

1. Web Development

wiki -- heard about them, tell me more

I have heard about companies setting up wiki sites to allow for user grops to workshare information via the web. When I said something about this to someone, was told it was a lot of work to setup. Anyone care to comment on what is truly needed? The materials needed, effort required, whether it... (4 Replies)
Discussion started by: joeyg
4 Replies

2. UNIX for Dummies Questions & Answers

wiki

Please i am trying to create an intranet wiki in my work place but i have no idea what to do, please if you can guide me on how to go about it i will really appreciate it. thanks (1 Reply)
Discussion started by: bensen
1 Replies

3. Programming

Need help on Shell script for database maintainace..

Hi All, I have to perform some tasks for database maintainace. I am using postgresql on RHEL 4.4. 1) I have to run "vacuumedb" on the database as postgres user. 2) I have to reindex the database as postgres user. Now i want to write shell script to do these tasks one... (3 Replies)
Discussion started by: ashokkumar.p
3 Replies

4. Shell Programming and Scripting

help copy *.txt to postgres

hi all, a have problem to load *.txt to postgres my database: id_list_ip (nextval) list_ip (varchar) txt file (list_ip.txt) hasilping_10.8.248.1 hasilping_119.110.112.226 hasilping_119.110.125.33 hasilping_125.22.1.25 hasilping_192.168.2.1 hasilping_202.73.96.70 script... (3 Replies)
Discussion started by: adi0926
3 Replies

5. UNIX for Advanced & Expert Users

How to set postgres process in monit file?

Dear Friends, I need to add the postgres process in monit file ( Debian machine ). How to add that process in monit?. If anyone know the solution for this, pls let me know. ---------- Post updated at 02:27 PM ---------- Previous update was at 12:21 PM ---------- I have found the... (0 Replies)
Discussion started by: rekha_sri
0 Replies