Re: Can't connect to mysql

From: Date: Sat, 29 Mar 2003 05:11:32 +0000
Subject: Re: Can't connect to mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141552@lists.php.net to get a copy of this message
--- CDitty <mail@redhotsweeps.com> wrote: > Fatal error: Call to undefined function: mysql_connect() What version of PHP? This almost always means PHP was built without MySQL support (the --with-mysql was missing from the configure line, though this isn't necessary in newer versions). Does phpinfo() seem to think you have MySQL support? Also, if you built MySQL yourself and are using its client libraries to connect from other environments, you will want to compile PHP with those libraries and not the built-in ones. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#141552) next »