Archive for \'Database\'



Setup 64bit CentOS (PHP5, MySQL, memcached, ketama)

A script to setup 64bit CentOS with PHP5, MySQL, memcached and ketama.

Force MySQL Encoding to UTF8

How to force MySQL to use UTF8 encoding by default.

Default Values With Hibernate Annotations

How to set the default value of a field with Hibernate.

MySQL Delete On Joined Tables

How to delete records from MySQL using joined fields.

Appfuse “failed to lazily initialize a collection of role”

Fix the failed to lazily initialize a collection of role error in AppFuse

Hibernate OneToMany Relationships

An example of a one-to-many relationship using Spring MVC and Hibernate.

Hibernate ‘TYPE=storage_engine is deprecated’

Fixing ‘TYPE=storage_engine is deprecated’ warnings in Hibernate.

Multiple DBs in CakePHP

How to hack cake to use different databases for different models.

Installing MySql/PDO for PHP

How to install PDO/MySql to fix Zend_Db_Adapter_Exception errors in Zend Framework

Installing Trac

Trac can be a little tricky to install. Here’s the steps that worked for me.

Svn server w/ Apache

A walk-through for setting up a subversion server hosted by http/apache.

Recover Corrupted Svn DB

How to recover your repository if you’re getting Corrupted error messages.