DEV Community 👩‍💻👨‍💻

Roy
Roy

Posted on

Answer: Grep in MySQL CLI interpretter

Give this a try!

mysql> pager grep user
PAGER set to 'grep user'
mysql> USE someTable;
mysql> DESCRIBE TABLES;

I've just tried it with Mysql v5.0.83, and it does what you would think ;)

Top comments (0)

All DEV content is created by the community!

Hey, if you're landing here for the first time, you should know that this website is a global community of folks who blog about their experiences to help folks like you out.

Sign up now if you're curious. It's free!