class Mysqlknife::Parameter::Console

Attributes

execute[W]

Public Instance Methods

connect() click to toggle source
# File lib/mysqlknife/parameter/console.rb, line 8
def connect
  @config.connection(@connection)
  if @connection.nil? == false &&
     @host.nil?       == false
    puts "Connecting to: #{@config.select(@host)}"
    @command.execute(@mysql.console(@execute))
  end
end