System is RH Linux 9. MySQL 4.0.15. I installed the client and server using the RPMs. I can connect to MySQL from a command prompt with no trouble. From PHP I was getting the undefined function error. After researching found I needed the shared-compat RPM. Installed that. Now the functions are there, but I get:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
From any PHP page accessing MySQL. There is a 0 kb mysql.sock file in that location that is writable by the mysql user.
Any insight is greatly appreciated.
One other point. the shared-compat RPM is 4.0.17 not 4.0.15. Does anyone know if this could be the problem?
Roger