MySQL: Creating a database with
am 18.05.2010 10:18:51 von Alexander Schunk
Hello,
i want to create a database with php.
A look in the php manual says that you need a special 4.x MySQL
version for using
mysql_create_db().
I am getting error message: Call to undefined function mysql_create_db().
When is this function defined and in what version of MySQL?
yours sincerly
Alexander Schunk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: MySQL: Creating a database with
am 18.05.2010 10:28:15 von Artur Ejsmont
--0016e6470cc07a87b20486da1f6a
Content-Type: text/plain; charset=ISO-8859-1
You probably miss the mysql extension or have different one than you are
calling.
Please call
php_info();
?>
in script to see what extensions are loaded. if there is some other module
supporting mysql just use different way to run sql.
otherwise you need to look into php.ini and see if module is available and
activate it. If you dont have one and you are on debian like system you
might be able to install it from a system package.
Art
On 18 May 2010 09:18, Alexander Schunk wrote:
> Hello,
>
> i want to create a database with php.
>
> A look in the php manual says that you need a special 4.x MySQL
> version for using
> mysql_create_db().
>
> I am getting error message: Call to undefined function mysql_create_db().
>
> When is this function defined and in what version of MySQL?
>
> yours sincerly
>
> Alexander Schunk
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--0016e6470cc07a87b20486da1f6a--