nitso / colour-mysql-console Goto Github PK
View Code? Open in Web Editor NEWSample config files showing how to colorize linux console mysql client
License: MIT License
Sample config files showing how to colorize linux console mysql client
License: MIT License
I just wanted to say thank you. This is really excellent. (I didn't know where else to write this)
mysql> select * from tblNames;
Traceback (most recent call last):
File "/usr/bin/grcat", line 152, in <module>
ll['regexp'] = re.compile(ll['regexp']).search
KeyError: 'regexp'
1001 rows in set (0,00 sec)
What is wrong with regexps?(
i used in .grcat
#Error red
regexp=[E-e][R-r][R-r][O-o][R-r].*
colours=red
and it is not colored output in mysq cli
this message
"ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '111111' at line 1"
Hi,
First of all, thanks a lot for your excellent work !
It's works flawlessly within the mysql CLI.
However, I often run SQL queries from the linux shell (bash), to get immediate result.
Would there be a way to have grc colorize mysql's output in such situation as well ?
Thanks again !
Hello,
How can I colour the mysql shell prompt using grc?
I change the mysql shell prompt using this:
export MYSQL_PS1="mysql_\d>_"
which result on:
mysql [database]>
I want to colour the database name.
hello,
it works well when I used mysql client and using prompt.
I wonder.... is it possible when I pass the statement as file ?
expected
mysql -h 127.0.0.1 -u root --password < test.mysql
+---+
| 0 |
+---+
| 0 |
+---+
1 row in set (0.00 sec)
actually
mysql -h 127.0.0.1 -u root --password < test.mysql
Enter password:
0
0
by follow your docs, as long as I understand,
if the mysql client's 'paging?' func doesn't support the file input, It would not work...
thanx in advance for your answer.
Hello,
There is no license information on this project.
I'd like to know.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.