반응형
MySQL 데이터베이스의 .NET 연결 문자열에서 pooling = false
는 무엇을 의미합니까?
다음은 완전한 연결 문자열입니다.
return new MySqlConnection("SERVER=localhost;DATABASE=myDataBase;USER=###;PASSWORD=***;POOLING=FALSE;");
해결 방법
pooling = false
인 경우 SqlConnection.Close ()
를 호출 할 때 연결이 풀로 돌아 가지 않습니다.
이 키의 값이 true로 설정되면 새로 생성 된 connection will be added to the pool when closed by the application. In a next attempt to open the same connection, that connection will be drawn from the pool. Connections are considered the same if they have the same connection string. Different connections have different 연결 문자열
참조 페이지 https://stackoverflow.com/questions/18336961
반응형
'MySql' 카테고리의 다른 글
MySQL UTC로 MySQL FROM_UNIXTIME (0) | 2020.12.25 |
---|---|
MySQL mySQL / SQL에서 count (0), count (1) .. 및 count (*)의 차이점은 무엇입니까? (0) | 2020.12.25 |
MySQL 데이터를 복사하지 않고 테이블 복사 (0) | 2020.12.24 |
MySQL 양식의 입력 배열을 반복하는 방법은 무엇입니까? (0) | 2020.12.24 |
MySQL LIMIT로 MySQL 테이블에서 평균 선택 (0) | 2020.12.24 |
댓글