Go에서 MySQL 다루기: database/sql 라이브러리 활용

1. 빠른 사용법 Go 언어의 database/sql 패키지는 SQL 또는 SQL류 데이터베이스를 위한 인터페이스를 제공하지만, 구체적인 구현은 포함하지 않습니다. database/sql 패키지를 사용하려면 반드시 다른 데이터베이스 드라이버가 필요합니다. 예를 들어, MySQL용 서드파티 구현: https://github.com/go-sql-driver/mysql 1.1 다운로드 go get -u github.com/go-sql-driver/my ...

8월 8일 18:09에 게시됨

MySQL 연결 풀 초과 문제 해결 방법

에러 메시지 확인 Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections" at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruc ...

6월 6일 18:38에 게시됨