#10 Mysql Error

closed
Kevin Johnson
None
1
2009-11-13
2009-11-11
Peter P
No

I hope you can help!

When running the setup script for the first time I get this error:

Fatal error: Call to undefined function mysql_connect() in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 363

From Googling this error I have not found much, other than to make sure mysql is installed and running. I can telnet to the localhost on the mysql port. Netstat -a shows it is listing.

The mysql logs shows no connection attempts.

I am running the following:
base 1.4.4
mysql 5.0.5
libphp-adodb 5.05 (this is installed /usr/share/php

Thanks you very much

Discussion

  • Kevin Johnson
    Kevin Johnson
    2009-11-13

    • labels: 615362 -->
    • priority: 5 --> 1
    • assigned_to: nobody --> secureideas
    • status: open --> closed
     
  • Kevin Johnson
    Kevin Johnson
    2009-11-13

    You do not have the php-mysql libraries installed. Install them and restart your web server.