This is a Go program that demonstrates basic CRUD operations on a MySQL database. It connects to a database, performs various queries, and displays the results.
- Go
- MySQL driver for Go (github.com/go-sql-driver/mysql)
- MySQL database
- Run
go get github.com/go-sql-driver/mysqlto install the MySQL driver - Run
go run main.goto run the program - Verify that the program is connected to the database and that the CRUD operations are working correctly
Make sure to set the enviroment variables for DBUSER and DBPASS, also the IP and Port for the mysql server where the project will connect.
