I
I
Ivan Actovegin2019-08-29 16:28:20
MySQL
Ivan Actovegin, 2019-08-29 16:28:20

Does Golang have MySQL support?

Does Golang have MySQL support natively? That is, don't you need to install something to work with MySQL in Golang?
Naturally, apart from MySQL itself and the Golang compiler

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ramm, 2019-08-29
@ivanmorda

There is. You need to import the standard package "database/sql"
and additionally the driver import _ "github.com/go-sql-driver/mysql"

A
AlexSuslov, 2020-01-09
@AlexSuslov

I like jmoiron.github.io/sqlx . Or Gorm gorm.io/docs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question