Upgrading existing instance
From ShowSlow
Contents |
To upgrade, run Subversion command:
svn update
and then from command line:
php dbupgrade.php
or just run
make
and both of these commands will be ran automatically.
ShowSlow uses DBUpgrade for schema upgrades which in turn uses MySQLi for DB connectivity which is not compiled into PHP by default so you'll have to enable/compile in MySQLi before being able to upgrade. If you're using MySQL 4.1.3 or later (and you should be by now), it's very much encouraged to use MySQLi.
[edit] Version-specific notes
[edit] Upgrading to version 0.6
0.6 started to use SVN Assets project for static asset management which has a few requirements - please see Caching for static assets using SVN Assets section in the documentation.
Since config.sample.php got a new required field there - $baseAssetURL.
Simplest setup can be to add following line under $showslow_base definition in your config.php
$baseAssetURL = $showslow_base;
[edit] Upgrading to version 0.4 (or trunk r114)
If you're upgrading from the version that doesn't use DBUpgrade yet (0.3 or trunk versions before r114), then you'll need to manually upgrade database schema first - just get this version of tables.sql and make sure your schema matches: http://code.google.com/p/showslow/source/browse/trunk/tables.sql?spec=svn114&r=114
Then you'll be able to simply run dbupgrade.php to get the schema up to date.

