What is this?
From advanced Bash tricks to Python gotchas to MySQL tutorials, this blog covers various topics in programming and systems administration. Find out how to get more done and have fun! Keep up with the latest by subscribing to the RSS feed!About the Author
This is the tech blog of Samuel Huckins. You can check out my homepage and other websites below, or send me a message here.-
Recent Posts
Post categories
Tags
Apache Apple Bash bookmarks CLI command database Desktop disk editor efficiency filesystem firefox fun graph graphing hardware HTML information keyboard Launchy Linux logging migration monitoring MySQL PDF Programming putty Python Ruby screenshot scripting Security ssh subversion svn sysadmin top Trac Ubuntu vim Vista web applications WindowsBlogroll
Handy Links
My Sites
My del.icio.us
- Posts 172
- Words in Posts 62,686
- Comments 311
Tag Archives: MySQL
Tune MySQL like a pro with MySQLTuner
I don’t know why I didn’t know about this before (or why I forgot about it, more likely), but I came across MySQLTuner recently and was most pleasantly surprised. It’s a Perl script that only requires your MySQL user and … Continue reading
Better access to MySQL create view statements
I’ve found that I often create several views that are variations on an initial one, providing a slightly different convenient slice of the data as the need arises. But when a view is created the syntax actually stored can be … Continue reading
Catching warnings from the MySQLdb module
The MySQLdb Python module implements the Python DB API for MySQL. I’ve written about its use before. MySQL issues warning messages in a number of circumstances and PEP 249 (which specifies the Python DB API) describes a Warning error message … Continue reading
Editing Trac comments at the DB layer
Today I needed to alter the content of a comment made on a Trac ticket. I didn’t anticipate this would be a difficult task, but I wasn’t too familiar with Trac’s DB schema. So to save you a few consternated … Continue reading
Advanced ordering of MySQL results
MySQL’s “order by” keyword allows the order in which result rows are returned to be defined. This is quite useful in a wide variety of circumstances. You can specify any number of columns whose values you want to order the … Continue reading







