MySQL Forums
Forum List  »  Newbie

Re: Command to automatically display a list of databases after logging in
Posted by: Peter Brawley
Date: July 06, 2015 02:22PM

> init_command = SHOW DATABASES

Does not work.

Crazily, --init-command="set @x=10" works, but commands that produce output do not.

Has been so since 5.0 at least.

Options: ReplyQuote


Subject
Written By
Posted
Re: Command to automatically display a list of databases after logging in
July 06, 2015 02:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.