Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/go-sql-driver/mysql to v1.8.0 #31708

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 12, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/go-sql-driver/mysql v1.7.1 -> v1.8.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

go-sql-driver/mysql (github.com/go-sql-driver/mysql)

v1.8.0

Compare Source

What's Changed

Major changes
Other changes

New Contributors

Full Changelog: go-sql-driver/mysql@v1.7.1...v1.8.0


Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from djaglowski as a code owner March 12, 2024 14:13
@renovate renovate bot requested a review from a team March 12, 2024 14:13
@renovate renovate bot added dependencies Pull requests that update a dependency file renovatebot labels Mar 12, 2024
@renovate renovate bot requested a review from dmitryax as a code owner March 12, 2024 14:13
@github-actions github-actions bot requested a review from crobert-1 March 12, 2024 14:19
@renovate renovate bot requested a review from mx-psi as a code owner March 12, 2024 14:23
@songy23 songy23 closed this Mar 12, 2024
@songy23 songy23 reopened this Mar 12, 2024
@dmitryax dmitryax merged commit 4d120b5 into main Mar 12, 2024
142 checks passed
@dmitryax dmitryax deleted the renovate/github.com-go-sql-driver-mysql-1.x branch March 12, 2024 15:34
@github-actions github-actions bot added this to the next release milestone Mar 12, 2024
DougManton pushed a commit to DougManton/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…en-telemetry#31708)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql)
| `v1.7.1` -> `v1.8.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary>

###
[`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0)

[Compare
Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0)

#### What's Changed

##### Major changes

- Use `SET NAMES charset COLLATE collation`. by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437)
- PathEscape dbname in DSN. by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432)
- Drop Go 1.13-17 support by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420)
- Parse numbers on text protocol too by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452)

##### Other changes

- Adding DeregisterDialContext to prevent memory leaks with dialers we
don't need anymore by [@&open-telemetry#8203;jypelle](https://togithub.com/jypelle) in
[https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422)

- Make logger configurable per connection by
[@&open-telemetry#8203;frozenbonito](https://togithub.com/frozenbonito) in
[https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408)

- Fix ColumnType.DatabaseTypeName for mediumint unsigned by
[@&open-telemetry#8203;evanelias](https://togithub.com/evanelias) in
[https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428)

- Add connection attributes by
[@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) in
[https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389)

- Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424)

- Exec() now provides access to status of multiple statements. by
[@&open-telemetry#8203;mherr-google](https://togithub.com/mherr-google) in
[https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309)

- Allow to change (or disable) the default driver name for registration
by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499)

- Add default connection attribute '\_server_host' by
[@&open-telemetry#8203;oblitorum](https://togithub.com/oblitorum) in
[https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506)

- Make TimeTruncate functional option by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552)

- Add BeforeConnect callback to configuration object by
[@&open-telemetry#8203;ItalyPaleAle](https://togithub.com/ItalyPaleAle) in
[https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469)

- QueryUnescape DSN ConnectionAttribute value by
[@&open-telemetry#8203;zhangyangyu](https://togithub.com/zhangyangyu) in
[https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470)

- Add client_ed25519 authentication by
[@&open-telemetry#8203;Gusted](https://togithub.com/Gusted) in
[https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518)

- Reduced allocation on connection.go by
[@&open-telemetry#8203;EPuncker](https://togithub.com/EPuncker) in
[https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421)

- Avoid panic in TestRowsColumnTypes by
[@&open-telemetry#8203;wayyoungboy](https://togithub.com/wayyoungboy) in
[https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426)

- Add benchmark to receive massive rows. by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415)

- README: Update multistatement by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431)

- all: replace ioutil pkg to new package by
[@&open-telemetry#8203;uji](https://togithub.com/uji) in
[https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438)

- chore: code optimization by
[@&open-telemetry#8203;testwill](https://togithub.com/testwill) in
[https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439)

- Reduce map lookup in ColumnTypeDatabaseTypeName. by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436)

- doc: add link to NewConnector from FormatDSN by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442)

- Add fuzz test for ParseDSN / FormatDSN roundtrip by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444)

- TestDSNReformat: add more roundtrip checks by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443)

- tcp: handle errors returned by SetKeepAlive by
[@&open-telemetry#8203;achille-roussel](https://togithub.com/achille-roussel) in
[https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448)

- use staticcheck by [@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449)

- Add Daemonxiao to AUTHORS by
[@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) in
[https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459)

- Update link about `LOAD DATA LOCAL` in README.md by
[@&open-telemetry#8203;i7a7467](https://togithub.com/i7a7467) in
[https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468)

- Update README.md by [@&open-telemetry#8203;Netzer7](https://togithub.com/Netzer7) in
[https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464)

- add Go 1.21 and MySQL 8.1 to the build matrix by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472)

- Improve DSN docstsrings by
[@&open-telemetry#8203;golddranks](https://togithub.com/golddranks) in
[https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475)

- Fix
[#&open-telemetry#8203;1478](https://togithub.com/go-sql-driver/mysql/issues/1478)
remove length check by
[@&open-telemetry#8203;ShenFeng312](https://togithub.com/ShenFeng312) in
[https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481)

- README: fix markup error by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480)

- Close connection on ErrPktSync and ErrPktSyncMul by
[@&open-telemetry#8203;owbone](https://togithub.com/owbone) in
[https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473)

- Spelling, grammar, and link fixes by
[@&open-telemetry#8203;scop](https://togithub.com/scop) in
[https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485)

- Make use of strings.Cut by [@&open-telemetry#8203;scop](https://togithub.com/scop)
in
[https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486)

- move stale connection check to ResetSession() by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496)

- fix race condition of TestConcurrent by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490)

- mark fail, mustExec and mustQuery as test helpers by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488)

- Remove obsolete fuzz.go
[#&open-telemetry#8203;1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498)

- testing: expose testing.TB in DBTest instead of full \*testing.T by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500)

- symbol removed from installation command by
[@&open-telemetry#8203;panvalkar1994](https://togithub.com/panvalkar1994) in
[https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510)

- fix issue 1361 by
[@&open-telemetry#8203;keeplearning20221](https://togithub.com/keeplearning20221) in
[https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462)

- fix fragile test by [@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522)

- Fix sql.RawBytes corruption issue by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523)

- fix for enum and set field type to column type identifying by
[@&open-telemetry#8203;jennifersp](https://togithub.com/jennifersp) in
[https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520)

- Parallelize test by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525)

- Fix unsigned int overflow by
[@&open-telemetry#8203;shiyuhang0](https://togithub.com/shiyuhang0) in
[https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530)

- Introduce `timeTruncate` parameter for `time.Time` arguments by
[@&open-telemetry#8203;PauliusLozys](https://togithub.com/PauliusLozys) in
[https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541)

- add TiDB support in README.md by
[@&open-telemetry#8203;crazycs520](https://togithub.com/crazycs520) in
[https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333)

- Update workflows by [@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547)

#### New Contributors

- [@&open-telemetry#8203;EPuncker](https://togithub.com/EPuncker) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421)
- [@&open-telemetry#8203;jypelle](https://togithub.com/jypelle) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422)
- [@&open-telemetry#8203;frozenbonito](https://togithub.com/frozenbonito) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408)
- [@&open-telemetry#8203;wayyoungboy](https://togithub.com/wayyoungboy) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426)
- [@&open-telemetry#8203;evanelias](https://togithub.com/evanelias) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428)
- [@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389)
- [@&open-telemetry#8203;uji](https://togithub.com/uji) made their first contribution
in
[https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438)
- [@&open-telemetry#8203;testwill](https://togithub.com/testwill) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439)
- [@&open-telemetry#8203;i7a7467](https://togithub.com/i7a7467) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468)
- [@&open-telemetry#8203;Netzer7](https://togithub.com/Netzer7) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464)
- [@&open-telemetry#8203;golddranks](https://togithub.com/golddranks) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475)
- [@&open-telemetry#8203;ShenFeng312](https://togithub.com/ShenFeng312) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481)
- [@&open-telemetry#8203;owbone](https://togithub.com/owbone) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473)
- [@&open-telemetry#8203;scop](https://togithub.com/scop) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485)
- [@&open-telemetry#8203;panvalkar1994](https://togithub.com/panvalkar1994) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510)
- [@&open-telemetry#8203;zhangyangyu](https://togithub.com/zhangyangyu) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470)
- [@&open-telemetry#8203;keeplearning20221](https://togithub.com/keeplearning20221)
made their first contribution in
[https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462)
- [@&open-telemetry#8203;oblitorum](https://togithub.com/oblitorum) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506)
- [@&open-telemetry#8203;Gusted](https://togithub.com/Gusted) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518)
- [@&open-telemetry#8203;jennifersp](https://togithub.com/jennifersp) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520)
- [@&open-telemetry#8203;shiyuhang0](https://togithub.com/shiyuhang0) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530)
- [@&open-telemetry#8203;PauliusLozys](https://togithub.com/PauliusLozys) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541)
- [@&open-telemetry#8203;crazycs520](https://togithub.com/crazycs520) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333)
- [@&open-telemetry#8203;ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469)

**Full Changelog**:
go-sql-driver/mysql@v1.7.1...v1.8.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…en-telemetry#31708)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql)
| `v1.7.1` -> `v1.8.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary>

###
[`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0)

[Compare
Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0)

#### What's Changed

##### Major changes

- Use `SET NAMES charset COLLATE collation`. by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437)
- PathEscape dbname in DSN. by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432)
- Drop Go 1.13-17 support by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420)
- Parse numbers on text protocol too by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452)

##### Other changes

- Adding DeregisterDialContext to prevent memory leaks with dialers we
don't need anymore by [@&open-telemetry#8203;jypelle](https://togithub.com/jypelle) in
[https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422)

- Make logger configurable per connection by
[@&open-telemetry#8203;frozenbonito](https://togithub.com/frozenbonito) in
[https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408)

- Fix ColumnType.DatabaseTypeName for mediumint unsigned by
[@&open-telemetry#8203;evanelias](https://togithub.com/evanelias) in
[https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428)

- Add connection attributes by
[@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) in
[https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389)

- Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424)

- Exec() now provides access to status of multiple statements. by
[@&open-telemetry#8203;mherr-google](https://togithub.com/mherr-google) in
[https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309)

- Allow to change (or disable) the default driver name for registration
by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499)

- Add default connection attribute '\_server_host' by
[@&open-telemetry#8203;oblitorum](https://togithub.com/oblitorum) in
[https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506)

- Make TimeTruncate functional option by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552)

- Add BeforeConnect callback to configuration object by
[@&open-telemetry#8203;ItalyPaleAle](https://togithub.com/ItalyPaleAle) in
[https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469)

- QueryUnescape DSN ConnectionAttribute value by
[@&open-telemetry#8203;zhangyangyu](https://togithub.com/zhangyangyu) in
[https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470)

- Add client_ed25519 authentication by
[@&open-telemetry#8203;Gusted](https://togithub.com/Gusted) in
[https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518)

- Reduced allocation on connection.go by
[@&open-telemetry#8203;EPuncker](https://togithub.com/EPuncker) in
[https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421)

- Avoid panic in TestRowsColumnTypes by
[@&open-telemetry#8203;wayyoungboy](https://togithub.com/wayyoungboy) in
[https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426)

- Add benchmark to receive massive rows. by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415)

- README: Update multistatement by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431)

- all: replace ioutil pkg to new package by
[@&open-telemetry#8203;uji](https://togithub.com/uji) in
[https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438)

- chore: code optimization by
[@&open-telemetry#8203;testwill](https://togithub.com/testwill) in
[https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439)

- Reduce map lookup in ColumnTypeDatabaseTypeName. by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436)

- doc: add link to NewConnector from FormatDSN by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442)

- Add fuzz test for ParseDSN / FormatDSN roundtrip by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444)

- TestDSNReformat: add more roundtrip checks by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443)

- tcp: handle errors returned by SetKeepAlive by
[@&open-telemetry#8203;achille-roussel](https://togithub.com/achille-roussel) in
[https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448)

- use staticcheck by [@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449)

- Add Daemonxiao to AUTHORS by
[@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) in
[https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459)

- Update link about `LOAD DATA LOCAL` in README.md by
[@&open-telemetry#8203;i7a7467](https://togithub.com/i7a7467) in
[https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468)

- Update README.md by [@&open-telemetry#8203;Netzer7](https://togithub.com/Netzer7) in
[https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464)

- add Go 1.21 and MySQL 8.1 to the build matrix by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472)

- Improve DSN docstsrings by
[@&open-telemetry#8203;golddranks](https://togithub.com/golddranks) in
[https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475)

- Fix
[#&open-telemetry#8203;1478](https://togithub.com/go-sql-driver/mysql/issues/1478)
remove length check by
[@&open-telemetry#8203;ShenFeng312](https://togithub.com/ShenFeng312) in
[https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481)

- README: fix markup error by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480)

- Close connection on ErrPktSync and ErrPktSyncMul by
[@&open-telemetry#8203;owbone](https://togithub.com/owbone) in
[https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473)

- Spelling, grammar, and link fixes by
[@&open-telemetry#8203;scop](https://togithub.com/scop) in
[https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485)

- Make use of strings.Cut by [@&open-telemetry#8203;scop](https://togithub.com/scop)
in
[https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486)

- move stale connection check to ResetSession() by
[@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496)

- fix race condition of TestConcurrent by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490)

- mark fail, mustExec and mustQuery as test helpers by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488)

- Remove obsolete fuzz.go
[#&open-telemetry#8203;1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498)

- testing: expose testing.TB in DBTest instead of full \*testing.T by
[@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500)

- symbol removed from installation command by
[@&open-telemetry#8203;panvalkar1994](https://togithub.com/panvalkar1994) in
[https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510)

- fix issue 1361 by
[@&open-telemetry#8203;keeplearning20221](https://togithub.com/keeplearning20221) in
[https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462)

- fix fragile test by [@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522)

- Fix sql.RawBytes corruption issue by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523)

- fix for enum and set field type to column type identifying by
[@&open-telemetry#8203;jennifersp](https://togithub.com/jennifersp) in
[https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520)

- Parallelize test by
[@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525)

- Fix unsigned int overflow by
[@&open-telemetry#8203;shiyuhang0](https://togithub.com/shiyuhang0) in
[https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530)

- Introduce `timeTruncate` parameter for `time.Time` arguments by
[@&open-telemetry#8203;PauliusLozys](https://togithub.com/PauliusLozys) in
[https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541)

- add TiDB support in README.md by
[@&open-telemetry#8203;crazycs520](https://togithub.com/crazycs520) in
[https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333)

- Update workflows by [@&open-telemetry#8203;methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547)

#### New Contributors

- [@&open-telemetry#8203;EPuncker](https://togithub.com/EPuncker) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421)
- [@&open-telemetry#8203;jypelle](https://togithub.com/jypelle) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422)
- [@&open-telemetry#8203;frozenbonito](https://togithub.com/frozenbonito) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408)
- [@&open-telemetry#8203;wayyoungboy](https://togithub.com/wayyoungboy) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426)
- [@&open-telemetry#8203;evanelias](https://togithub.com/evanelias) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428)
- [@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389)
- [@&open-telemetry#8203;uji](https://togithub.com/uji) made their first contribution
in
[https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438)
- [@&open-telemetry#8203;testwill](https://togithub.com/testwill) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439)
- [@&open-telemetry#8203;i7a7467](https://togithub.com/i7a7467) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468)
- [@&open-telemetry#8203;Netzer7](https://togithub.com/Netzer7) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464)
- [@&open-telemetry#8203;golddranks](https://togithub.com/golddranks) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475)
- [@&open-telemetry#8203;ShenFeng312](https://togithub.com/ShenFeng312) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481)
- [@&open-telemetry#8203;owbone](https://togithub.com/owbone) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473)
- [@&open-telemetry#8203;scop](https://togithub.com/scop) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485)
- [@&open-telemetry#8203;panvalkar1994](https://togithub.com/panvalkar1994) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510)
- [@&open-telemetry#8203;zhangyangyu](https://togithub.com/zhangyangyu) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470)
- [@&open-telemetry#8203;keeplearning20221](https://togithub.com/keeplearning20221)
made their first contribution in
[https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462)
- [@&open-telemetry#8203;oblitorum](https://togithub.com/oblitorum) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506)
- [@&open-telemetry#8203;Gusted](https://togithub.com/Gusted) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518)
- [@&open-telemetry#8203;jennifersp](https://togithub.com/jennifersp) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520)
- [@&open-telemetry#8203;shiyuhang0](https://togithub.com/shiyuhang0) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530)
- [@&open-telemetry#8203;PauliusLozys](https://togithub.com/PauliusLozys) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541)
- [@&open-telemetry#8203;crazycs520](https://togithub.com/crazycs520) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333)
- [@&open-telemetry#8203;ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469)

**Full Changelog**:
go-sql-driver/mysql@v1.7.1...v1.8.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file internal/sqlquery receiver/mysql
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants