Re: Mysql 5.0 Redhat
| From: | Cole S. Ashcraft | Date: | Fri, 02 Jul 2004 20:22:04 +0000 |
| Subject: | Re: Mysql 5.0 Redhat | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35114@lists.php.net to get a copy of this message | ||
You need to compile PHP with MySQL support. There is a php-mysql.rpm package, but I'm not sure if it will work with MySQL 5. You might just have to recompile PHP (but probably not).
Cole
Iain Wiseman wrote:
Cole S. Ashcraft wrote:-- This message has been scanned for viruses and dangerous content by MailScanner on mail.ashcraftfamily.net, and is believed to be clean. Please report any deviance from this condition immediately to the AFN Administrator at admin@ashcraftfamily.netThey are at http://dev.mysql.com/downloads/mysql/5.0.html. Iain Wiseman wrote:I have dowloaded and installed MySQL-shared-5.0.0-0 MySQL-server-5.0.0-0 MySQL-client-5.0.0-0 MySQL-devel-5.0.0-0 However I still get the error. I seems pretty common when I put it into google. There used to be a package call php-mysql-4.2.2-17.i386.rpm that seemed to do the neccesaries for PHP. Added a mysql.ini and put a library mysql.so into the php extension directory. What does this for 5.0? And what steps do I need to do to analyze the error. Obviously I can connect to my database from the command prompt. Thanks IainHi, Sure this has been asked but I want to use the new mysql 5.0 rather than downgrade and I want to use a package installer so I can take it off if it does not work. Are there rpms for Redhat 9.0 to enable PHP to work with MySql 5.0 I am assumming (and maybe incorrectly) that this is my problem for Fatal error: Call to undefined function: mysql_connect() in /var/www/html/guestbook/guest.config.php on line 14 Thanks Iain