Giter Site home page Giter Site logo

Comments (7)

sylar8023baby avatar sylar8023baby commented on May 20, 2024

Have you solved the problem?

from mysql.

methane avatar methane commented on May 20, 2024

This is not a problem. This is regular log when your network is unstable.

from mysql.

askeuhd avatar askeuhd commented on May 20, 2024

I have experienced this a lot lately too, suspecting network issues, I tried moving the client software to the same server as the mysql server and accessing it via 127.0.0.1, which logically should be unhampered by network issues, or at least external ones, however the issue persists. It does seem to be connected to leaving the db connection open for large queries - when closing and opening a new connection more frequently, the issue does not seem to appear.

Driver: github.com/go-sql-driver/mysql v1.7.1
Go: go version go1.22.0 linux/amd64
Server OS: Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-97-generic x86_64)
MySQL server: mariadb from 11.3.2-MariaDB, client 15.2 for debian-linux-gnu (x86_64)

from mysql.

sylar8023baby avatar sylar8023baby commented on May 20, 2024

There should be a method to prove the "network issue" actually.

from mysql.

methane avatar methane commented on May 20, 2024

I have experienced this a lot lately too, suspecting network issues, I tried moving the client software to the same server as the mysql server and accessing it via 127.0.0.1, which logically should be unhampered by network issues, or at least external ones, however the issue persists.

Of course, configuration issue also cause busy buffer log. The first issue reporter reported "... read: connection reset by peer" log. Don't you see any?

when closing and opening a new connection more frequently, the issue does not seem to appear.

How frequently? Did you read the README, at least "Important Settings" section, before reporting issue here?

https://github.com/go-sql-driver/mysql?tab=readme-ov-file#important-settings

from mysql.

methane avatar methane commented on May 20, 2024

There should be a method to prove the "network issue" actually.

That's a nice idea! But HowToStopRussia() is more nice!

from mysql.

methane avatar methane commented on May 20, 2024

I close this issue because no one report complete step to reproduce.
This thread sends me annoying notification mail to me.

from mysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.