S
S
Sergey Korenevsky2018-11-05 05:17:43
MySQL
Sergey Korenevsky, 2018-11-05 05:17:43

How to enable auto-reconnect to MySQL in NetBeans?

Dear gurus. Tell me how to solve the problem with reconnecting to MySQL in NetBeans.
The connection keeps dropping. Those. in NetBeans, the icon hangs saying that the connection is established. But as soon as I make a request or just print selects when auto-substituting a field, an error pops up that it is not possible to read the list of fields from the table. I have to reconnect with the mouse (click off, and then turn on the connection), and everything works.
But after 1 minute or 2, the connection drops again.
Is it really not possible to achieve that, in the absence of communication, it will restore itself.
The problem is not server specific. because it is always the same locally and remotely

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2018-11-05
@inoise

Stop using this gadget in Netbeans and install MySQL Workbench. There, at the same time, you will transfer from Netbeans to Phpstorm.
I understand that this is not an answer to the question, but I only want the best for you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question