Home > computers > databases > mysql > MysqlExecFromCommandLine | About

Je n'en ai strictement, mais alors là strictement aucune idée. Non je rigole, il faut utiliser le -e switch

root@messagerie-secours[10.10.10.20] /usr/lib/python2.6 # mysql -uxxx -pxxx -e "use dbispconfig; select mailuser_id,homedir,maildir from mail_user ORDER BY mailuser_id;"
[...]
|         253 | /var/vmail | /var/vmail/xxx/m.stefan               |
|         254 | /var/vmail | /var/vmail/xxx/f.sayah                |
[...]
root@messagerie-secours[10.10.10.20] /usr/lib/python2.6 #

contact : @ychaouche yacinechaouche at yahoocom


QR Code
QR Code mysqlexecfromcommandline (generated for current page)