Hello,
In the latest released Metabase the method CreateDatabase() inside
manager_mysql tests for existance of mysql_create_db function. If that
function exists goes for it, otherwise issues a "CREATE DATABASE" query.
This is fine and fixes the problem of older versions
of metabase with MySQL 4 php api. Unfortunately on a test windows XP
installation (EasyPHP 1.7 packaging Apache 1.3.27 - PHP 4.3.3 - MySQL
4.0.15) despite executes correctly mysql_create_db() gives a warning
about the function being deprecated.
Therefore I suggest to modify the command adding a @ modifier to
suppress the warning:
$success=@mysql_create_db($name,$db->connection);
A second possibility that could be even better would to remove the use
of mysql_create_db and always go with a CREATE DATABASE query.
Regards,
Stefano