# Neuzhou Repo2skill Mysql

> mysql

- Skill: `tomevault-io/neuzhou-repo2skill-mysql` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/neuzhou-repo2skill-mysql`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/neuzhou-repo2skill-mysql/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/neuzhou-repo2skill-mysql

---


# mysql

A MySQL-Driver for Go's [database/sql](https://golang.org/pkg/database/sql/) package

## When to Use

- Make HTTP requests

## When NOT to Use

- Projects using Python or JavaScript (different ecosystem)

## Quick Start

### Install

```bash
go get -u github.com/go-sql-driver/mysql
```

### Basic Usage

```go
import (
	"database/sql"
	"time"

	_ "github.com/go-sql-driver/mysql"
)

// ...

db, err := sql.Open("mysql", "user:password@/dbname")
if err != nil {
	panic(err)
}
// See "Important settings" section.
db.SetConnMaxLifetime(time.Minute * 3)
db.SetMaxOpenConns(10)
db.SetMaxIdleConns(10)
```

## Key Features

- Lightweight and fast
- Native Go implementation. No C-bindings, just pure Go
- Connections over TCP/IPv4, TCP/IPv6, Unix domain sockets or custom protocols
- Automatic handling of broken connections
- Automatic Connection Pooling *(by database/sql package)*

## Project Info

- **Language:** Go
- **Tests:** Yes

## File Structure

```
├── auth_test.go
├── auth.go
├── AUTHORS
├── benchmark_test.go
├── buffer.go
├── CHANGELOG.md
├── collations.go
├── compress_test.go
├── compress.go
├── conncheck_dummy.go
├── conncheck_test.go
├── conncheck.go
├── connection_test.go
├── connection.go
├── connector_test.go
├── connector.go
├── const.go
├── driver_test.go
├── driver.go
├── dsn_fuzz_test.go
```

> Generated by [repo2skill](https://github.com/NeuZhou/repo2skill)

---
> Source: [NeuZhou/repo2skill](https://github.com/NeuZhou/repo2skill) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->

