[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php4-mysql



On Thu, Jun 30, 2005 at 12:42:09PM -0500, Ian wrote:
Hello, I am running Debian Sarge on my new server. I installed apache2 and the required php4 packs along with mysql4. I can get php running, but the php doesn't seem to be compatible with mysql4. Can you please help me solve my problem?

Check the results of phpinfo (new php file containing only <?php phpinfo(); ?>
and look for the mysql section for more information.

I can think of two possibilities here. The first might be that
php4-mysql is not installed, and the second could be that the mysql api
in php is still a 3.x version. The default password hash in mysql 4.x
changed to a much longer and supposedly more secure key.

If mysql support is not installed, install the php4-mysql package. If it
is a version issue, change your password to use the old hashing type by
logging into the mysql console and setting it using the old_password
command:

mysql> set password = old_password('thepassword');
--
Steve Block
http://ev-15.com/
http://steveblock.com/
scblock@ev-15.com



Reply to: