It's the best guess the logs brought me to.
I could only be quite sure if I'd be able to reproduce your problem
which I still can't.
If you could build and debug SQuirreL on your system this would be a
fair chance to find out what the problem is. For some information on
this see
http://www.squirrelsql.org/index.php?page=programing
Gerd
Am 08.11.20 um 23:27 schrieb info:
> Does this explain the 30 second delay before the shutdown?
> I do have 2x MySQL aliases, and when I click on them, each connects
> almost instantaneously. They lead to a server on my LAN. However I do
> not recall ever checking off the connect at startup option since started
> using Squirrel many years ago. I will double check if any of them have it.
>
> On 2020-11-08 05:21 PM, Gerd Wagner wrote:
>> Looks like an Alias connecting to MYSQL during SQuirreL's startup is
>> causing problems. Please see if there is such an Alias with "Connect
>> at application startup" checked.The error messages pointing to this are:
>>
>> 2020-11-06 21:33:02,555 [AWT-EventQueue-1] ERROR
>> net.sourceforge.squirrel_sql.client.gui.db.AliasesAndDriversManager -
>> Could not find class com.mysql.cj.jdbc.Driver in neither the Java
>> class path nor the Extra class path of the MariaDB Driver for MySQL
>> and MariaDB driver definition:
>> java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver
>>
>> and
>>
>> java.lang.NumberFormatException: For input string: "3306>]"
>> at java.lang.NumberFormatException.forInputString(Unknown Source)
>> at java.lang.Integer.parseInt(Unknown Source)
>> at java.lang.Integer.parseInt(Unknown Source)
>> at
>> com.mysql.cj.conf.ConnectionUrlParser.parseHostPortPair(ConnectionUrlParser.java:500)
>>
>>
>>
>>
>>
>>
>> In the new snapshot
>> https://sourceforge.net/projects/squirrel-sql/files/3-snapshots/snapshot-20201108_2305/
>>
>>
>> Aliases that are connected to during startup are written to SQuirreL's
>> log file. The new log entries look like this:
>> 2020-11-08 22:58:49,696 [AWT-EventQueue-1] INFO
>> net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToStartupAliasesCommand
>> - Connecting during Application start to Alias: "<Alias-name>"
>> (JDBC-URL: <jdbc-Url>)
>>
>>
>> Hope this helps
>> Gerd
>>
>> Am 08.11.20 um 03:27 schrieb info:
>>> Logs attached.
>>>
>>> On 2020-11-07 03:58 PM, Gerd Wagner wrote:
>>>> You may post SQuirreL's logs. Here are the steps
>>>>
>>>> - Close SQuirreL
>>>> - Go to the logs directory of your SQuirreL user dir
>>>> - Delete or move away all existing log files (this is to prevent
>>>> sending unnecessary big log files).
>>>> - Open and Close SQuirreL
>>>> - Send the log file that was newly created.
>>>>
>>>> Gerd
>>>
>>>
>>>
>>> _______________________________________________
>>> Squirrel-sql-users mailing list
>>> Squ...@li...
>>> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>>>
>>
>
>
>
>
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
|