docker 踩坑日记The last packet sent successfully to the server was 0 milliseconds ago.

The last packet sent successfully to the server was 0 milliseconds ago.

This hole encountered today, seemingly for no reason wonders.

First of all, my question is to locate the database.

We made the following treatment:

  1. Carefully review the configuration database url of problems in your code.
  2. View permissions problem database.
  3. To the tomcat container ping a bit.

I found no problem.

What I am he. . Card the day. . Had an idea, a moment mysql restart the container, so that the.

It boils down to this:
after the container has been modified, you must restart it to take effect.

Guess you like

Origin www.cnblogs.com/whyaza/p/11546890.html