Search the MySQL manual:

2.5.3 Upgrading From Version 3.22 to 3.23

MySQL Version 3.23 supports tables of the new MyISAM type and the old ISAM type. You don't have to convert your old tables to use these with Version 3.23. By default, all new tables will be created with type MyISAM (unless you start mysqld with the --default-table-type=isam option). You can convert an ISAM table to MyISAM format with ALTER TABLE table_name TYPE=MyISAM or the Perl script mysql_convert_table_format.

Version 3.22 and 3.21 clients will work without any problems with a Version 3.23 server.

The following list tells what you have to watch out for when upgrading to Version 3.23:

User Comments

Posted by mysql on Wednesday December 18 2002, @5:27pm[Delete] [Edit]

A simple script to convert all your tables to
MyISAM format:
<code>
$link = mysql_connect
('localhost', 'user', 'password');
$db_list = mysql_list_dbs($link);
while ($row = mysql_fetch_object($db_list)) {
echo "Database: ".$row->Database;
$DB = $row->Database;
mysql_select_db($DB);
$tables=mysql_list_tables($DB);
while (list($bla)=mysql_fetch_array($tables))
{
$result = mysql_query("ALTER TABLE $bla
TYPE=MyISAM")or die("Invalid query");
echo "Table ".$bla." is converted to
MyISAM";
}
}
</code>

Add your own comment.