Home arrow Journal arrow Today Quick Tip: Nice MySQL Client Cursor
Today Quick Tip: Nice MySQL Client Cursor PDF
Wednesday, 31 March 2010

To have a nice cursor when you use your console/shell mysql client add at section [mysql] in your my.cnf file the following:

[mysql]
no-auto-rehash
prompt=(\\u@\\h) [\\d]>\\_

If you do not have any my.cnf mysql config file in /etc copy one from: /usr/local/share/mysql/ to /etc and rename it to my.cnf.

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?