środa, 22 lutego 2012

[Mysql] Execute query in shell on remote host

Ok quick post.
Ever wondered how to execure query in mysql on remote host ?
mysql -u USER_NAME -p -h HOST_ADRES users -e 
"select name,surname from employees where id_employee=1"

Brak komentarzy:

Prześlij komentarz