Bug #24332 [Com]: mysql_connect() are not pass a password

From: Date: Wed, 01 Sep 2021 18:45:22 +0000
Subject: Bug #24332 [Com]: mysql_connect() are not pass a password
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236285@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=24332&edit=1 ID: 24332 Comment by: lildurk24332 at gmail dot com Reported by: nefer at ib dot ru Summary: mysql_connect() are not pass a password Status: Not a bug Type: Bug Package: MySQL related Operating System: FreeBSD 4.8-CURRENT PHP Version: 4.3.3RC1 Block user comment: N Private report: N New Comment: Lil Durk is a private agency dedicated to providing responsible access to legal cannabis for adults aged 19 and older. We’re an exclusively online retailer and wholesaler for recreational cannabis and a trusted source for information about cannabis and cannabis-related issues. We believe our work is meaningful and we take pride in our mandate to promote the socially responsible use of legal cannabis. https://lildurk.com/ Previous Comments: ------------------------------------------------------------------------ [2003-06-25 08:01:47] nefer at ib dot ru I'm downgraded to 4.3.2... Now it works. So i still think that this is PHP bug, no MySQL. ------------------------------------------------------------------------ [2003-06-25 07:50:54] nefer at ib dot ru Password is set, when i use 'mysql -p' command all works fine. I know that there is some similar troubles reported, but there is not my current problen. At now i'm downgrading to 4.3.2 version, cose i get problems after upgrading to 4.3.3RC1. ONLY! MySQL is stay untouched. ------------------------------------------------------------------------ [2003-06-25 07:39:42] webmaster at ragnarokonline dot de > (Using password: NO) This means, no password has been set for the account mysql_connect('localhost', 'root'); should work, then Regards, Christian Stadler ------------------------------------------------------------------------ [2003-06-25 07:21:07] derick@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Works fine, you must be doing something wrong. ------------------------------------------------------------------------ [2003-06-25 07:17:01] nefer at ib dot ru Description: ------------ I can't connect to MySQL server, cose mysql_connect() are not pass a password to the server (i think). mysql Ver 11.18 Distrib 3.23.56, for portbld-freebsd4.8 (i386) Reproduce code: --------------- <? mysql_connect('localhost', 'root', 'cccc'); echo mysql_error(); ?> Expected result: ---------------- Nothing (as no error) Actual result: -------------- Access denied for user: 'root@localhost' (Using password: NO) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=24332&edit=1

« previous php.bugs (#236285) next »