php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16817 mperson
Submitted: 2002-04-25 04:39 UTC Modified: 2002-04-26 12:04 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: mperson at 10mail dot net Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.2.0 OS: redhat7.2
Private report: No CVE-ID: None
 [2002-04-25 04:39 UTC] mperson at 10mail dot net
I just installed php4.2.0RC.i find a problem that i donot know it is a bug.so i report it .
before i installed php4.2.0rc .I had used php4.12.
I write a script connect mysql database.it is ok.
but after i installed php4.2.0rc.the script connectdb mysql
database is wrong.
it said "access denied .user "zgtv@localhost" use password (YES).
I do not know why .
Please help me.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-26 11:58 UTC] sander@php.net
This is not a bug in PHP, but a problem with your MySQL configuration.
 [2002-04-26 12:04 UTC] mfischer@php.net
This is to a problem with the configure script included in the 4.2.0* releases. This issue has been addressed and will be solved with the next (4.2.1) release which will be avilable soon (in a few days).

Short desc: The headerfile sys/un.h is not properly detected and therefore unix sockets are not avalable (which is likely the way you have been used to connect to your mysql). Either use mysql with tcp or rebuild the configure script with autoconf 2.13
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC