Bug #59095 Mysqlserverclone does not print connection information
Submitted: 21 Dec 2010 16:42 Modified: 9 Jul 2012 19:08
Reporter: Mats Kindahl Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Utilities Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[21 Dec 2010 16:42] Mats Kindahl
Description:
When creating a new server using mysqlserverclone, it does not print the connection information for the new server. Normally, this information is supplied on the command line, but if defaults are used, the user have to read the manual to figure out what the connection information is.

How to repeat:
$ mysqlserverclone --server=root:xyzzy@localhost --new-data=/tmp/data
# WARNING: Root password for new instance has not been set.
# Cloning the MySQL server running on localhost.
# Creating new data directory...
# Configuring new instance...
# Locating mysql tools...
# Setting up empty database and mysql tables...
# Starting new instance of the server...
# Testing connection to new instance...
# Success!
#...done.

Suggested fix:
Print out the connection information that can be used to connect to the newly created server.
[12 Jan 2011 14:40] Chuck Bell
Added information to output.
[12 Jan 2011 14:40] Chuck Bell
Latest patch for review

Attachment: 59095.bundle (application/octet-stream, text), 3.54 KiB.

[9 Jul 2012 19:08] Chuck Bell
Fixed in 1.0.1dev1.