# File lib/rails-installer/databases.rb, line 255
      def self.create_database(installer)
        installer.message "Creating MySQL database"
        base_command = "mysql -u #{db_user installer} "
        base_command << "-p#{installer.config['db_password']}" if installer.config['db_password']
        system("#{base_command} -e 'create database #{db_name installer}'")
        system("#{base_command} -e 'create database #{db_name installer}_test'")
      end