[PHP-DB] Re: Cannot connect to local MySQL -- Client does not support authentication protocol

2005-06-07 Thread Román Sánchez
I think it is not just a matter of upgrading the library. You can get it 
if I remember well from the source distribution of MySql. The problem is 
that PHP comes pre-compiled with the older MySql client version so you 
would need recompile PHP.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: DB dont_die and errors

2005-05-31 Thread Román Sánchez

Hi all,

When the connection fails, the default behaviour is to die, printing also the 
dns, with user and password!!!


How can I avoid this?



If the package you use won't give an option to avoid this you could 
buffer the output with the ob_xxx functions.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php