MySQL : mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication

PHP 5.3 / Mysql 5.5 / FreeBSD   You get the error message: Warning: mysql_connect() [function.mysql-connect]: Premature end of data (mysqlnd_wireprotocol.c:553) in C:\directorya\directoryb\dbconnect.phpon line 57 Warning: mysql_connect() [function.mysql-connect]: OK packet 1 bytes shorter than expected in C:\directorya\directoryb\dbconnect.php on line 57 Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please Read More…

FreeBSD clock frozen

OS : FreeBSD 8.2 Hypervisor: VMware ESXi 5.0   The clock on our FreeBSD webserver suddenly stopped. This appears to be a bug in in ESXi 5.0. To fix this: If the time counter is using HPET then change this to ACPI sysctl kern.timecounter.hardware=ACPI-safe Note: The setting doesn't persist after a reboot so make sure Read More…