If you have multiple database servers with strange names, or if you have to hop over multiple machines to connect to any mysql database server, then you know what a pain it can be to administer such a setup. Thanks to some scripting, you can automate such tasks as follows: Create an expect script: /path/to/sshmysql.exp [...]
Posts Tagged ‘expect’
Automating MySQL access with expect and bash scripting
Posted: 8th February 2010 by Darren Cassar in Databases, Intermediate, OS, UncategorizedTags: access, automation, bash, expect, MySQL
2