资 源 简 介
moved to bitbucket!
https://bitbucket.org/bandrewfox/psh-mysql-client/overview
The default MySQL client is nice, but I wanted to add some features to it, like command aliases. I also wanted to be able to be in my normal shell and quickly grab stuff from a MySQL table without switching terminals. So, I wrote a couple extensions to the psh (Perl Shell).
Two new commands are "dls" and "dhead". dls lists all the tables in the current database, but feels like a "ls -ltr" in that it sorts them by last-modified time and shows the sizes. "dhead" just peeks at the top 10 records of a table, and it compresses long fields when possible so that it can try to fit on a page.
This is an alpha version but I use it quite a bit.