Each sandox instance should have it's own .mysql_history file

Asked by seattlegaucho

I suggest to add the following line to the "use" script to keep a separate command line history for each sandbox instance. It makes it easier to follow the command history from masters and slaves independently.

[code]
export MYSQL_HISTFILE="$SBDIR/.mysql_history"
[/code]

I'm using it to compare the command sequence vs the mysqlbinlog output to diagnose a replication bug.

My $.02
G

Question information

Language:
English Edit question
Status:
Answered
For:
MySQL Sandbox Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Giuseppe Maxia (giuseppe-maxia) said :
#1

Hi Gerry.
Thanks.
This looks like a very useful addition. I will add it!

Giuseppe

Can you help with this problem?

Provide an answer of your own, or ask seattlegaucho for more information if necessary.

To post a message you must log in.