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 |
31 |
Tags
- paramiko
- Numpy
- SSH
- Docker
- Python
- JSON
- 핑거스타일
- mysql
- nvidia-smi
- VS Code
- OpenCV
- label
- C++
- error
- C
- pip
- 기타 연주
- pytorch
- windows forms
- 컨테이너
- YOLO
- Linux
- 오류
- Visual Studio
- Selenium
- 프로그래머스
- ubuntu
- C#
- 채보
- pandas
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