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
- 공개서적
- 오피스텔투자
- 가장 인기있는 파이썬 패키지
- 종합과세
- chatgpt 100% 신뢰금지
- 갤럭시탭 with Pen
- 가장 많이 사용되는 파이썬 패키지
- 주상복합용지 분양
- 소형주택 세액감면
- bard 100% 신뢰금지
- 나는 어디로?
- 파이썬 TypeError
- 전세보증보험
- 가장 많이 사용되는 파이썬 라이브러리
- robux
- 데이터 리터러시
- 2룸 오피스텔 투자
- 상업시설용지 분양
- 주택임대사업자
- 종합소득세
- 임대소득외 추가소득이 있을 경우
- 가장 인기있는 파이썬 라이브러리
- 오라클 데이터베이스 내장함수
- Google vs MicorSoft
- Python
- PostgreSQL
- 라이브러리 vs 패키지
- 다주택임대
- Google vs OpenAI
- chatgpt vs bard
Archives
목록mysql connection code (1)
All thing of the world!

python으로 mysql 데이터베이스에 접속하는 코드(coding)를 정리한다. 1. mysql.connector 설치 pip install mysql.connector 2. connection 코드 작성 import mysql.connector from mysql.connector import errorcode try: cnx = mysql.connector.connect(user='scott', password='password', host='127.0.0.1', database='employees') except mysql.connector.Error as err: print(err) else: cnx.close() 끝.
IT/python
2023. 4. 29. 18:50