Access Keys:
Skip to content (Access Key - 0)
My Area (Access Key - 2)


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 2 rates
Labels:
sfx sfx Delete
nelli-tuning nelli-tuning Delete
intermediate intermediate Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Script to Check or Repair All MySQL Databases

Tags: , ,
Last Updated: Oct 30, 2009 01:52


  • Author: Ere Maijala
  • Additional author(s):
  • Institution: None
  • Year: 2008
  • License: MPL 1.1 / GPL 2.0
  • Short description: Use, modification and distribution of the code are permitted provided the copyright notice, list of conditions and disclaimer appear in all related material.
  • Link to terms: MPL 1.1, GPL 2.0
  • Skill required for using this code: intermediate

Description

A small script that runs the table_maintenance.pl script provided with SFX for all instances.

The method, modifying environment variables, works for us for now but has to be considered a hack.

State

Stable

Author(s) homepage

http://wiki.helsinki.fi/display/Nelli/Etusivu

Download

SFX:Version 1.0

Using the following Ex Libris API

None.

Changes

Version 1.0

Initial release.

Release notes

None.

Installation instructions

  1. Use sfxglb3 user account. The script will read the instance list from the config file instances.config_ in sfxglb/config
  2. Unpack somewhere on the SFX server
  3. Make the script executable (chmod +x filename) and run it in a directory with write permissions, because the script will write log to table_maint.log in the current directory
  4. The script defaults to check mode. Run with parameter --repair to run it in repair mode.
  5. When the script has finished, check table_maint.log for errors.

Please contact Ere Maijala (ere.maijala (at) helsinki.fi) for more information or if you encounter any trouble with the installation.

TO DO list

-

Known issues

None.


Comments




Page Attachments

File NameCommentSizeNumber of Downloads
check_all_mysql_tables.tarThe script10 kB124

Added by Ere Maijala on Sep 05, 2008 12:48, last edited by Conf Admin on Oct 30, 2009 01:52

Adaptavist Theme Builder Powered by Atlassian Confluence