php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17231 Can't connect to mysql
Submitted: 2002-05-14 21:46 UTC Modified: 2002-05-15 01:56 UTC
From: curious at lookingforme dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.2.0 OS: linux redhat 7.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: curious at lookingforme dot com
New email:
PHP Version: OS:

 

 [2002-05-14 21:46 UTC] curious at lookingforme dot com
we have recompiled php,and use PHPMyAdmin to connect to database. But, I can't connect to mysql with message error :
user localhost@localdomain is no allowed to connect to mysql.

When I checked the problem using phpinfo, it says that mysql is enabled and mysql socket being used is /tmp/sock.

Can you help me with this problem ?

Tx.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-15 01:56 UTC] mfischer@php.net
This was a bug in the 4.2.0 ./configure script and has been fixed in 4.2.1
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 12:01:33 2025 UTC