From: Alexander Schunk on 18 May 2010 04:18 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
From: Artur Ejsmont on 18 May 2010 04:28 You probably miss the mysql extension or have different one than you are calling. Please call <?php 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 <aschunk(a)gmail.com> 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 > >
|
Pages: 1 Prev: Need Help in error msg Next: deleting rows with composite primary key |