How To: Install memcached on CentOS 6

Memcached is a distributed, high-performance, in-memory caching system that is primarily used to speed up sites that make heavy use of databases. It can however be used to store objects of any kind. Nearly every popular CMS has a plugin or module to take advantage of memcached, and many programming languages have a memcached library,… Continue reading How To: Install memcached on CentOS 6

How to upgrade mysql with custombuild

To upgrade mysql using the custombuild script, do the following: cd /usr/local/directadmin/custombuild ./build set mysql 5.1 ./build set mysql_inst yes ./build set mysql_backup yes ./build update ./build mysql Where mysql can be 5.0, 5.1 or 5.5. A full raw sql backup will be run prior to the upgrade if you have mysql_backup=yes set.  It goes without… Continue reading How to upgrade mysql with custombuild

MySQL Socket errors

This is an error that many people who run PHP and MySQL are familiar with: ERROR 2002: Can’t connect to local MySQL sever through socket ‘/var/lib/mysql/mysql.sock’ (2) Luckily, this is relatively easy to solve in most cases. Here’s what to do. ·First of all, we need to decide where the MySQL socket file should be. For… Continue reading MySQL Socket errors