All Projects → nitso → Colour Mysql Console

nitso / Colour Mysql Console

Licence: mit
Sample config files showing how to colorize linux console mysql client

Projects that are alternatives of or similar to Colour Mysql Console

Sysbench
Scriptable database and system performance benchmark
Stars: ✭ 4,268 (+1649.18%)
Mutual labels:  console, mysql
Aerich
A database migrations tool for TortoiseORM, ready to production.
Stars: ✭ 240 (-1.64%)
Mutual labels:  mysql
Webpack Messages
Beautifully format Webpack messages throughout your bundle lifecycle(s)!
Stars: ✭ 238 (-2.46%)
Mutual labels:  console
Gorm Bulk Insert
implement BulkInsert using gorm, just pass a Slice of Struct. Simple and compatible.
Stars: ✭ 241 (-1.23%)
Mutual labels:  mysql
Granite
ORM Model with Adapters for mysql, pg, sqlite in the Crystal Language.
Stars: ✭ 238 (-2.46%)
Mutual labels:  mysql
Term Sheets
Create animated terminal presentations. Export as SVG, animated GIF, or HTML+CSS
Stars: ✭ 243 (-0.41%)
Mutual labels:  console
Ectouch
ECTouch是一款开源的电商系统,为中小企业提供最佳的新零售解决方案。
Stars: ✭ 236 (-3.28%)
Mutual labels:  mysql
Docker Lnmp
🐋Docker-compose(Linux,Nginx,MySQL,PHP7,Redis)
Stars: ✭ 244 (+0%)
Mutual labels:  mysql
Sqlfiddle3
New version based on vert.x and docker
Stars: ✭ 242 (-0.82%)
Mutual labels:  mysql
Redaxscript
A modern, ultra lightweight and rocket fast Content Management System
Stars: ✭ 241 (-1.23%)
Mutual labels:  mysql
Typo3 Docker Boilerplate
🍲 TYPO3 Docker Boilerplate project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
Stars: ✭ 240 (-1.64%)
Mutual labels:  mysql
Chroma
A general purpose syntax highlighter in pure Go
Stars: ✭ 3,013 (+1134.84%)
Mutual labels:  console
Laravel Zero
A PHP framework for console artisans
Stars: ✭ 2,821 (+1056.15%)
Mutual labels:  console
Doga
📈 HTTP log monitoring console for Humans
Stars: ✭ 238 (-2.46%)
Mutual labels:  console
Typescript Express Starter
🚀 TypeScript Express Starter
Stars: ✭ 238 (-2.46%)
Mutual labels:  mysql
My Review
主要存放平时理论学习,比如java jdk源码分析、并发理论;面试、数据库、Linux、中间件、分布式、网络协议等方向
Stars: ✭ 237 (-2.87%)
Mutual labels:  mysql
Graphqlize
A Clojure & JVM library for developing GraphQL API instantly from Postgres and MySQL databases
Stars: ✭ 240 (-1.64%)
Mutual labels:  mysql
Caesar
An HTTP based RAT (Remote Administration Tool) that allows you to remotely control devices from your browser
Stars: ✭ 240 (-1.64%)
Mutual labels:  mysql
Daza Backend
[DEPRECATED]
Stars: ✭ 244 (+0%)
Mutual labels:  mysql
Sql Lint
An SQL linter
Stars: ✭ 243 (-0.41%)
Mutual labels:  mysql

colour-mysql-console

Sample config files showing how to colorize linux console mysql client using grc

How to use it

  1. Install grc (for debian systems: apt-get install grc)
  2. Copy both config files into your home directory: .grcat and .my.cnf
  3. Run mysql client mysql -u <user> -p -h <hostname>
  4. Enjoy!

How does it work

Mysql client supports using predefined pager for data output. So we can set grcat (Generic Colouriser) for processing mysql output. grcat reads supplied config file, parses output according to regexp's and adds colours. grc manual can be founded via man grc or here: http://kassiopeia.juls.savba.sk/~garabik/software/grc/README.txt

Sample screenshots

Table screenshot Vertical screenshot

Another one nice hack

You can also use less in pager to have some features like scrolling, search, line numbers etc. pager = grcat ~/.grcat | less -RSFXin

Just type man less to read about less parameters.

LICENSE

Project distributes with standard MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].