check your permissions for the user, perhaps the create table permission is
missing or the permissions need to be flushed to take effect
bastien
From: aconite <[EMAIL PROTECTED]>
To: php-db@lists.php.net
Subject: [PHP-DB] error creating tables
Date: Tue, 27 Feb 2007 03:58:23 -0800 (PST)
im
im trying to create a database in a php file.i have MySql 5.0.33 PHP 5.2.1
this is the code i have in the php file
$con = mysql_pconnect("127.0.0.1","root","12345");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
if (mysql_query("CREATE DATABASE mydatabase",$con))
{
echo