You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mysql_adapter.rb
    path of file: ./repos/model/lib/hanami/model/migrator
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Hanami
  module Model
    class Migrator
      # MySQL adapter
      #
      # @since 0.4.0
      # @api private
      class MySQLAdapter < Adapter
        # @since 0.7.0
   
    
        def create
          new_connection(global: true).run %(CREATE DATABASE `#{database}`;)
        rescue Sequel::DatabaseError => exception
          message = if exception.message.match(/database exists/)
                      DB_CREATION_ERROR
                    else
                      exception.message
                    end