Skip to content

issues Search Results · repo:go-sql-driver/mysql language:Go

Filter by

1k results
 (172 ms)

1k results

ingo-sql-driver/mysql (press backspace or delete to remove)

Hi, Would it be possible to expose a LONG column using a reader interface ? Something like: var long mysql.LongText row.Scan( long) long.Read(buf) pgx has something similar for PostgreSQL: https://github.com/jackc/pgx/blob/master/pgproto3/chunkreader.go ...
  • bersace
  • Opened 
    4 days ago
  • #1735

When I tried to use the update method, a panic occurred at go-sql-driver/mysql@v1.8.0/result.go:41 +0x2fdatabase/sql.driverResult.RowsAffected. The panic was caused by the following line of code: res.affectedRows[len(res.affectedRows)-1], ...
  • minitr
  • 1
  • Opened 
    on Aug 4
  • #1733

The comma will get escaped in the DSN, and the connexion to the server will fail. Tested with latest 1.9.3 and MariaDB 11.8
  • matwachich
  • 3
  • Opened 
    on Jun 20
  • #1729

Hello, when I use the very convenient FormatDSN() function to initiate my DB connections: e.g mysqlConfig := mysql.Config{} db, err := sql.Open( mysql , mysqlConfig.FormatDSN()) If I don t set any TLSConfig ...
  • celian-garcia
  • Opened 
    on Jun 20
  • #1728

I am currently using the go-sql-driver/mysql package for managing MySQL transactions. I am facing a challenge where I need to embed SQL comments at the start (START TRANSACTION) and end (COMMIT, ROLLBACK) ...
  • jlemesh
  • Opened 
    on Jun 10
  • #1720

Issue description When connecting to a database using compress=true, any use of DB.Ping() seems to cause subsequent queries to not return rows. Ping itself does not return an error. Example code package ...
  • evanelias
  • 2
  • Opened 
    on Jun 9
  • #1718

I need to log the raw SQL statements. We can specify a custom logger when opening a database: cfg, _ := mysql.ParseDSN(dsName) // set a custom logger tracer := log.New(os.Stdout, [mysql] , log.Ldate|log.Ltime|log.Lshortfile) ...
  • stokito
  • Opened 
    on May 13
  • #1716

Reproduce func TestMysqlDriverBuffer(t *testing.T) { cntor := makeMysqlConnector(nil) connUrl, urlErr := cntor.ConnectionUrl() require.NoError(t, urlErr) fmt.Printf( conn url: %s\n , connUrl) conn, ...
database/sql issue
  • datbth
  • 8
  • Opened 
    on May 8
  • #1715

Hi I am currently using the go-sql-driver/mysql driver to connect to a MySQL database that requires OpenID Connect authentication. I am encountering an issue when attempting to use the authentication_openid_connect ...
  • colussim
  • 1
  • Opened 
    on Apr 28
  • #1713

Environment mysql offical docker image mysql:9.3.0 from docker hub https://hub.docker.com/_/mysql Steps to Reproduce 1. follow this iwiki example: https://github.com/go-sql-driver/mysql/wiki/Examples#prepared-statements ...
  • liuzengh
  • 2
  • Opened 
    on Apr 28
  • #1712
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub