Friday, February 1, 2008

Simple Ruby MySQL

To get the MySQL Ruby library to work as documented on troubleshooters, I had to add the following require statement:

require 'rubygems'
require 'mysql'
.
.
.
mysql.close()

No comments: