Fatal error: Call to undefined function: mysql_connect()
| From: | Tim | Date: | Fri, 16 Apr 2004 21:43:49 +0000 |
| Subject: | Fatal error: Call to undefined function: mysql_connect() | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-general+get-183705@lists.php.net to get a copy of this message | ||
Setup:
2 servers, one with PHP 4.1.2 and no MySQL installed, the other has MySQL
and PHP 4.1.2
Problem:
I am attempting to connect to the MySQL server from the server without
MySQL, but I get the error that shows in the subject.
Fatal error: Call to undefined function: mysql_connect() in
/folder/index.php on line 11
I was told that maybe the extension for MySQL was not setup in PHP. I
thought that maybe it was just because MySQL wasnt installed on the system I
am working on, but it makes sense that I am not trying to access a database
on the system I am working from, but trying to access one on a different
server all together.
What do you think?
Thanks,
Tim