Vous pouvez utiliser le system commande
depuis le mysql client en ligne de commande :
#!/bin/bash
mysql -uUser -pPasswd << EOF
system echo 'I wanna echo something by using echo which is run by bash';
use Mydb
some sql commands here
commit;
EOF
Vous pouvez utiliser le system commande
depuis le mysql client en ligne de commande :
#!/bin/bash
mysql -uUser -pPasswd << EOF
system echo 'I wanna echo something by using echo which is run by bash';
use Mydb
some sql commands here
commit;
EOF