Differences
This shows you the differences between two versions of the page.
mysql_prompt [2013/05/09 11:25] |
mysql_prompt [2013/05/09 11:25] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== mysql prompt ====== | ||
+ | * [[https://dev.mysql.com/doc/refman/5.5/en/mysql-commands.html|mysql commands]] | ||
+ | |||
+ | Display username, hostname, database, H:M:S. Add to ''.my.cnf'' | ||
+ | |||
+ | <file> | ||
+ | [mysql] | ||
+ | prompt = "(\u@\h) [\d] \\r:\\m:\\s> " | ||
+ | </file> |