Method: Myq::Core#console

Defined in:
lib/myq/core.rb

#consoleObject



206
207
208
209
210
211
212
213
214
215
# File 'lib/myq/core.rb', line 206

def console
  cmd = <<-EOF
  mysql -A\
  -u #{@profile['username']}\
  -h #{@profile['host']}\
  -p #{@profile['database']}\
  --password='#{@profile['password']}'
  EOF
  system(cmd)
end