Class: Islo::Mysql::Client

Inherits:
Command
  • Object
show all
Defined in:
lib/islo/commands/mysql.rb

Overview

MySQL client

Instance Attribute Summary

Attributes inherited from Command

#command, #title, #wd

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Command

#exec, #initialize, #title?

Constructor Details

This class inherits a constructor from Islo::Command

Class Method Details

.nameObject



8
9
10
# File 'lib/islo/commands/mysql.rb', line 8

def self.name
  :mysql
end

Instance Method Details

#argsObject



12
13
14
15
16
17
# File 'lib/islo/commands/mysql.rb', line 12

def args
  %W(
    --socket=#{wd}/tmp/sockets/mysql.sock
    -uroot
  ) + super
end