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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 10:01:33 2024 UTC