getting mysql running

Now need to get MySQL installed. I am having the following trouble
installing

sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config

ERROR: Error installing mysql:
  ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb --with-mysql-config=/usr/bin/mysql_config
extconf.rb:10:in `require': no such file to load -- mkmf (LoadError)
  from extconf.rb:10

Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/mysql-2.8.1 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out

Any ideas?

This error means you are missing ruby development libraries needed for
compilation.

apt-cache search ruby | grep dev

ERROR: Error installing mysql:
  ERROR: Failed to build gem native extension.

sudo aptitude install libmysqlclient15-dev

(or whatever version the libmysqlclient is at for your system)