List:General Discussion« Previous MessageNext Message »
From:Obantec Support Date:June 27 2008 5:37am
Subject:u/g to 4.1.22 but now getting mysql_connect() error in php
View as plain text  
Hi

FC3 test box running mysql 3.23.58 and php 4.3.9 worked ok. (i know they are 
old but is only a local test box server for testing before i update a live 
version).

installed mysql 4.1.22 and it starts up ok

080626 20:14:58  mysqld started
080626 20:14:59  InnoDB: Started; log sequence number 0 43634
/usr/local/mysql/libexec/mysqld: ready for connections.
Version: '4.1.22'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source 
distribution

but now php fails to connect with log error from webserver (apache 2)
[client 192.168.1.2] PHP Fatal error:  Call to undefined function: 
mysql_connect() in /home/domain/domain10/web/includes/db_connect.php on line 
2

also phpinfo() has no mysql section compared to before the mysql upgrade.

Mark

Thread
u/g to 4.1.22 but now getting mysql_connect() error in phpObantec Support27 Jun