---
title: "Database"
url: https://www.grahambrooks.com/tags/Database/
---

# Database

- [Encapsulating Databases](https://www.grahambrooks.com/post/2011-08-11-encapsulating-databases/index.md) (2011-08-11): Small systems grow with success. As these systems grow they often take on more and more functionality either directly into the main system component or into sub-systems. As the systems grow in complexity and responsibility their database requirements grow at…
- [Rake db:migrate MySQL gem dependency](https://www.grahambrooks.com/post/2011-01-24-rake-dbmigrate-mysql-gem-dependency/index.md) (2011-01-24): If you have already added gem ‘mysql2’ to your Gemfile but get a message saying that it is missing when you try to migrate Make sure that you have installed libmysql-ruby sudo apt-get install libmysql-ruby This one caught me out…
- [Server rebuild – part 1](https://www.grahambrooks.com/post/2010-02-18-server-rebuild-part-1/index.md) (2010-02-18): I have been running my own server for some time now but my requirements have changed and the current underlying VM architecture does not conveniently support what I want to do. The current linux server is running under OpenVZ which…
