Archive

Posts Tagged ‘MySQL’

How to disable revisions in WordPress

15:35:08 April 27th, 2009 1 comment

WordPress keeps track of a list of all historical revisions of each post, but is at a cost and are sometimes annoying. Every time changes are made to a post, even a single word is modified, a new revision is recorded. As a result, the database will become cumbersome, making it tanke more space and slowing the querying and modifications of the table. On the other hand, many people just write their own blog and do not want keep the latest version of the articles…

PHP MySQL error: Client does not support authentication protocol requested by server

10:45:20 April 24th, 2009 No comments

When trying to connect to a MySQL server from PHP using mysql_connect(), I got the following message and the connection failed:
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in example.php on line xx…