Managing Cisco Routers / Switches with Python, Take 2

Here is my script to date. It’s functional and works pretty well, in my limited testing.

I’ll put my future revisions on github.com/jtdub/pyMultiChange

October 10, 2013

Posted In: Cisco Administration Python Scripting, IOS, Python Tips, System Administration

Quick one-liner to change all databases tables to InnoDB in MySQL.

I’ve been attempting to get a better understanding of the operations of MySQL. For me, the best way to do that is hands on. I had a database, with a lot of tables, that I wanted to change the engine type to InnoDB. Obviously, being a lazy sys admin, I didn’t want to change them all by hand. So, I made a quick one-liner to do the job for me.

 

February 10, 2013

Posted In: Bash Tips, MySQL, System Administration