# File lib/jdbc_adapter/jdbc_mysql.rb, line 8
    def mysql_connection(config)
      config[:port] ||= 3306
      if config[:url]
        config[:url] = config[:url]['?'] ? "#{config[:url]}&#{MySQL::URL_OPTIONS}" : "#{config[:url]}?#{MySQL::URL_OPTIONS}"
      else
        config[:url] = "jdbc:mysql://#{config[:host]}:#{config[:port]}/#{config[:database]}?#{MySQL::URL_OPTIONS}"
      end
      config[:driver] = "com.mysql.jdbc.Driver"
      jdbc_connection(config)
    end