When starting the mysql-connector all available databases are checked using the "SHOW TABLES IN db" command. Due to a bug (https://bugs.mysql.com/bug.php?id=22615) a database named "#mysql50#lost+found" can be present. Running "SHOW TABLES IN #mysql50#lost+found" will throw a syntax error. The mysql-connector will attempt to run the command even if the database is blacklisted.
It would be nice if blacklisted (or non-whitelisted) databases are excluded from this initial check.