Database

The server requested authentication method unknown to the client [mysql_old_password]

I updated my server this morning, moving from Zend Server PHP 5.3 to 5.6 but when I did I got a really weird error. The server requested authentication method unknown to the client [mysql_old_password] I spent way too much time debugging it but it turns out that this is an incompatibility between MySQLnd and MySQLContinue Reading “The server requested authentication method unknown to the client [mysql_old_password]”

Database Security

How to use PHP with MySQL (without SQL Injection vulnerabilities)

Chris Dale recently posted a horrifying article on his blog.  It is called “Why it’s easy being a hacker – A SQL injection case study“.  The most horrifying part of the post was that when you type in the Google search “How to use PHP with MySQL” a significant number of the results come backContinue Reading “How to use PHP with MySQL (without SQL Injection vulnerabilities)”