Description:
The laptop I use during development has both the MySQL database (for development) and MySQLCC installed. While in the office connected to the network I use MySQLCC to access the production MySQL database on a server in the office. Sometimes I forget to close the database connection to the production database from within MySQLCC and just close the the appication. It saves the connection to the production database.
Then at home, outside the office network environment I use MySQLCC to connect to the development database on the same laptop. BUT If there was a connection saved to the office database (which is no longer accessible) MySQLCC crashes during it's attempt to re-connect at startup.
I am unable to do anything to re-configure the MySQLL database connections because the application is busy from the moment it starts to the moment it crashes.
This problem makes MySQLCC unusable at home (if I forget to close the database connections before I leave the office)
I have not installed MySQLCC 0.9.4 yet to see if the problem has been fixed because I am writing this bug report from home and curently am unable to test against the production server until I return to the office.
How to repeat:
Install MySQLCC on a laptop (or PC)
Connect the laptop to a network that has a MySQL database server
Configure MySQLCC with database connection to the database server, and establish the connection
Close MySQLCC without disconnecting the database connection
Disconnect the laptop from the network making the databse server un-reachable
Start MySQLCC (which will attempt an auto re-connect to the database)
Notice that the application is busy during this time preventing any user interactions. Not a problem expcept that the application never returns control and then it crashes.
Suggested fix:
Document how to reconfigure (from outside MySQLCC) a database connection to not auto connect at startup.
Or detect un-reachable databases during the auto reconnect phase and report them gracefully and return control to the UI and user instead of crashing