Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
watchmysql-wont-start [2014-02-13 17:43:22]
shaun.reitan
watchmysql-wont-start [2014-02-25 19:24:56]
shaun.reitan
Line 32: Line 32:
 wget download.ndchost.com/watchmysql/latest-watchmysql wget download.ndchost.com/watchmysql/latest-watchmysql
 sh latest-watchmysql sh latest-watchmysql
 +</code>
 +
 +==== DBI and/or DBD::mysql not installed or broken ====
 +
 +The WatchMySQL daemon relies on the perl DBI and DBD::mysql modules.  If you recently did a MySQL upgrade where the major version changed (ex: going from 5.1.x to 5.5.x) then you need to rebuild these modules so they link to the correct mysql libs.  Run the following commands
 +
 +<code console>
 +export -n PERL5LIB PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT
 +cpan -i -f DBI
 +cpan -f -f DBD::mysql
 +service watchmysql start
 </code> </code>