"Paul Choy" writes: >Hi : > >I am trying to run Expect scripts to interact with mysql. So far I cannot get > it to work here is the list of log I got.Does anyone know how to interact Ex >pect scripts with mysql. What am I missing ?
I've done it, but I don't spawn directly. I spawn a regular shell and then just send out the command to start it, eg # start up command line interface to mysql send "/usr/local/mysql/bin/mysql -u root -p $dbname\r" and go on from there. Works just fine. --Cindy --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php