php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55558
Patch mysql_connects_error revision 2011-08-31 22:07 UTC by simon at welsh dot co dot nz

Patch mysql_connects_error for MySQL related Bug #55558

Patch version 2011-08-31 22:07 UTC

Return to Bug #55558 | Download this patch
Patch Revisions:

Developer: simon@welsh.co.nz

Index: ext/mysql/tests/mysql_connect.phpt
===================================================================
--- ext/mysql/tests/mysql_connect.phpt	(revision 315918)
+++ ext/mysql/tests/mysql_connect.phpt	(working copy)
@@ -101,5 +101,5 @@
 print "done!";
 ?>
 --EXPECTF--
-Warning: mysql_connect(): Access denied for user '%s'@'%s' (using password: YES) in %s on line %d
+Warning: mysql_connect(): Access denied for user '%s'@'%s' (using password: %s) in %s on line %d
 done!
Index: ext/mysql/tests/mysql_pconnect.phpt
===================================================================
--- ext/mysql/tests/mysql_pconnect.phpt	(revision 315918)
+++ ext/mysql/tests/mysql_pconnect.phpt	(working copy)
@@ -81,5 +81,5 @@
 	print "done!";
 ?>
 --EXPECTF--
-Warning: mysql_pconnect(): Access denied for user '%s'@'%s' (using password: YES) in %s on line %d
+Warning: mysql_pconnect(): Access denied for user '%s'@'%s' (using password: %s) in %s on line %d
 done!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC