class DbVcs::Adapters::Mysql::Config

Attributes

host[RW]
mysql_path[RW]

Path to mysql util. It is resolved automatically.

mysqldump_path[RW]

Path to mysqldump util. It is resolved automatically.

password[RW]
port[RW]
username[RW]

Public Class Methods

new() click to toggle source
# File lib/db_vcs/adapters/mysql.rb, line 15
def initialize
  @host = "127.0.0.1"
  @port = "3306"
  @username = "root"
  @password = nil
  @mysqldump_path = DbVcs::Utils.resolve_exec_path("mysqldump")
  @mysql_path = DbVcs::Utils.resolve_exec_path("mysql")
end