MySQL Forums
Forum List  »  PHP

Undefined function mysql_connect()
Posted by: James K
Date: June 06, 2010 08:50PM

I've been working with PHP for a few years, but mySQL is new to me. When I execute a PHP file calling for a mySQL connection, I get the error "Call to undefined function mysql_connect()". I've tried everything I could find online - nothing works. What's wrong, and, more importantly, how can I fix it?

I'm running:
- mySQL 5.1.37
- PHP 5.something
- Apache 2.2.12
- Ubuntu Linux 9.10 (Server)
and I use Webmin as a system manager.

Options: ReplyQuote


Subject
Written By
Posted
Undefined function mysql_connect()
June 06, 2010 08:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.