Re: Fatal error: Call to undefined function: mysql_create_db()
| From: | Morten Fangel | Date: | Sat, 08 Nov 2003 20:14:04 +0000 |
| Subject: | Re: Fatal error: Call to undefined function: mysql_create_db() | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12216@lists.php.net to get a copy of this message | ||
David Gonzalez wrote:
Hello php-install, Looked everywhere to try to find why after compiling PHP 4.3.4 on Mdk 9.1 like this:try using the bundled mysql lib... --with-mysql with no [=DIR] Morten Fangel | MFA | KarmaSomething./configure \ --prefix=/wwwroot/php \--with-apxs2=/wwwroot/bin/apxs \ --with-mysql=/usr/local/mysql \--enable-track-vars \ --enable-ftp \ --enable-sockets \i always get this error whenever using mysql_create_db() Fatal error: Call to undefined function: mysql_create_db() in /home/david/html/con.php on line 5 <?php $link = mysql_connect ("localhost", "xxxxx", "xxxxx")or die ("Imposible Conectar");print ("Conectado Correctamente!"); mysql_create_db("my_database")or die ("No pude crear la DB!");?> If already answer please tell me where is the answer on the archives so i can look up an answer. Thanx PHP Experts!.