Class: Islo::Mysql::Server

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

Overview

MySQL server

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



24
25
26
# File 'lib/islo/commands/mysql.rb', line 24

def self.name
  :mysqld
end

Instance Method Details

#argsObject



28
29
30
31
32
33
34
35
36
# File 'lib/islo/commands/mysql.rb', line 28

def args
  %W(
    --no-defaults
    --datadir=#{wd}/db/mysql
    --pid-file=#{wd}/tmp/pids/mysqld.pid
    --socket=#{wd}/tmp/sockets/mysql.sock
    --skip-networking
  ) + super
end