RE: [PHP-INSTALL] Connection to mySQL

From: Date: Fri, 25 Mar 2005 14:49:26 +0000
Subject: RE: [PHP-INSTALL] Connection to mySQL
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-15898@lists.php.net to get a copy of this message
What errors are you getting? If you're having a problem connecting with an error like: Warning: mysql_connect(): Client does not support authentication protocol requested by server This is a problem with PHP 4.X.X and MySQL 4.1+ you have to login to MySQL and use the "OLD_PASSWORD" feature. IE: SET PASSWORD FOR 'user@'host' = OLD_PASSWORD('user_password'); Cheers Chuck -----Original Message----- From: Calvin Jien [mailto:calvincj@gmail.com] Sent: Thursday, March 24, 2005 3:28 PM To: php-install@lists.php.net Subject: [PHP-INSTALL] Connection to mySQL I read all the help files for php and mysql but I just don't get it. What do I need to do to get my php to talk to the mysql server? Right now I have the mysql server installed and running. The build-in option for mysql for php, what does it do? if php have this builded in do I even need the mysql server then? I keep hearing you have to edit two files to make mysql work in php but I don't find them, can you give me the full dir of where they are located and what do I put in the files. This is the only thing I'm missing for my server. please HELP!!! -- Calvin Jien ___________________________ International Ring of Spies, Agape Fellowship, VBS (Site) is powered by Calvin INC. An International Company. A leader in site development.

« previous php.install (#15898) next »