Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- C++
- SSH
- Docker
- OpenCV
- C
- pip
- 컨테이너
- pandas
- VS Code
- pytorch
- Linux
- paramiko
- error
- 채보
- nvidia-smi
- label
- Selenium
- Visual Studio
- C#
- 핑거스타일
- windows forms
- 오류
- Numpy
- 프로그래머스
- Python
- ubuntu
- mysql
- 기타 연주
- YOLO
- JSON
Archives
- Today
- Total
목록cursor (1)
기계는 거짓말하지 않는다
Python pymysql cursor DB 값 변경 인식 불가
pymysql connect의 cursor sql 실행 후 변경된 DB 값을 commit 함수를 호출해도 인식하지 못하는 경우가 있다. commit 위치가 잘못되었을 수 있고 자동 커밋을 원하면 매번 connect를 새로하는 대신 connect 매개변수에 autocommit=True를 추가한다. conn = pymysql.connect(host='localhost', port=3306, user=user, passwd=passwd, db=db, charset='utf8', autocommit=True) 참고 Python MySQL not refreshing - Stack Overflow Python MySQL not refreshing I have two programs: One that fill and..
Python
2023. 4. 1. 00:13