Skip to content

Commit d2c1ba7

Browse files
committed
make sql-console: customize prompt to show "mysql@localhost[index_digest]>"
1 parent 98757fc commit d2c1ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ demo:
2323
index_digest mysql://index_digest:qwerty@127.0.0.1/index_digest --sql-log sql/0002-not-used-indices-log --analyze-data --skip-checks=non_utf_columns --skip-tables=0028_no_time
2424

2525
sql-console:
26-
mysql --protocol=tcp -uindex_digest -pqwerty index_digest
26+
mysql --prompt='mysql@\h[\d]>' --protocol=tcp -uindex_digest -pqwerty index_digest
2727

2828
publish:
2929
# run git tag -a v0.0.0 before running make publish

0 commit comments

Comments
 (0)