본문 바로가기

Kminseo

검색하기
Kminseo
프로필사진 Kminseo

  • 분류 전체보기 (19)
    • Blog (0)
    • Python (3)
      • AI (1)
      • 프로그래밍 (2)
    • C# 프로그래밍 (2)
      • WPF (0)
      • ASP (0)
      • 기타 (1)
    • 기타 (13)
    • C&C++ (1)
      • UI (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
  • DataAnalysis
  • ubuntu
  • Tensor Board Image
  • 엑셀
  • Nvidia 깨짐
  • windows form
  • MySQL
  • Python
  • Multi Processing
  • Tensor Board
  • Pandas
  • openpyxl
  • json
  • Window_Control
  • 절대경로
  • nvidia 삭제
  • 상대경로
  • 시작 시 프로그램 실행
  • C#
  • keras
  • datetime
  • 화면 안나옴
  • Ubuntu 18.04_2
  • 시간
  • Import
  • SQL
  • WPF
  • ipdisk
  • 기초
  • xlsx
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록SQL (1)

Kminseo

Python MySQL 사용하기

Python에서 Mysql 을 사용하기 위한 방법과 Code를 설명하는 내용입니다. pip install pymysql설치하는 방법으로 Python이 설치되어있는 경우 pip를 사용하여 mysql Package를 install 해야합니다. 서버 연결 및 DB 정보 불러오기 import pymysql // test_db = pymysql.connect( user='DB_Server_ID', passwd='DB_Server_PW', host='Server_Address', // IP or Server Address db='DB_Name', charset='utf8' ) cursor = test_db.cursor()서버 연결 DB정보 불러..

Python/프로그래밍 2023. 1. 15. 02:21
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바