본문 바로가기
반응형

기술자료226

KEIL Compiler Bin Formate File Creation 케일 컴파일러 Bin 파일 생성 텍스트는 아래와 같다. $K\ARM\ARMCC\bin\fromelf.exe --bin --output=@L.bin !L 2022. 1. 11.
초간단 소스 PSQL 접속 테스트 파이썬 Psycopg database adapter PostgreSQL Connect Test 파이썬에서 PostgreSQL(PSQL) 접속을 위해 어텁터를 설치하고 간단한 소스로 접속 유무를 확인해 보겠습니다. 1. 아래 그림을 참조하여 파이썬에 Psycopg 어덥터를 설치해 주세요 2. PSQL에 Database를 생성해 두세요. 2.1 저는 suppliers 데이터베이스를 생성했습니다. 3. 이제 초간단 소스를 작성합니다. 아래를 참고하세요. import psycopg2 conn = psycopg2.connect( host="192.168.0.74", port="5432", database="suppliers", user="postgres", password="APPLE") print("Connecting... ") cur = conn.cursor() print("Connected!") pr.. 2021. 10. 14.
PostgreSQL 13 윈도우 설치 버전 외부접속 및 방화벽 설정 Windows Enable External Network Access and Firewall Setting PostgreSQL을 윈도우에 설치하면 윈도우 방화벽 및 PostgreSQL 내부 설정도 같이 해 주어야 합니다. PostgreSQL 13 이상 버전에서는 윈도우 설정 파일 위치가 바꼈습니다. 아래 그림을 보시고 설정에 참고하시기 바랍니다. 1. 윈도우 방화벽 설정 방법 2. 설정 파일 수정 13 이전 버전들은 설치 디렉터리에 Data 폴더가 존재했지만 최신 버전은 디렉터리 경로를 C:\로 변경하였습니다. 폴더 이름 또한 Data_PSQL로 변경되었습니다. 아래 그림을 참조하여 설정을 해 보시기 바랍니다. 이렇게 하면 외부 접속이 가능하게 됩니다. 감사합니다. 2021. 10. 12.
PostgreSQL 14beta3 Documentation 2021. 10. 6.
초간단 소스 ODBC Driver Adapter Connect Test python MS-SQL Database ============================================================ import pyodbc conn = pyodbc.connect('DRIVER=FreeTDS;SERVER=192.168.0.146;PORT=1433;DATABASE=ShopDB;UID=Wowcat;PWD=cocoon115;') cursor = conn.cursor() cursor.execute("SELECT @@version;") row = cursor.fetchone() while row: print(row[0]) row = cursor.fetchone() ============================================================ =================.. 2021. 10. 6.
초간단 소스 MS-SQL Driver Connect Adapter Test python Database ============================================================ import pymssql Ip = '192.168.0.146' Port = '1433' DB = 'ShopDB' ID = 'Wowcat' PW = 'cocoon115' conn = pymssql.connect( server=Ip, database=DB, user=ID, password=PW ) cursor = conn.cursor() cursor.execute("SELECT @@version;") row = cursor.fetchone() while row: print(row[0]) row = cursor.fetchone() =======================================.. 2021. 10. 6.
DB Adapter Installation : MS-SQL, ODBC Driver in Raspberry pi Database python ============================================================ 1. command ============================================================ apt-get install freetds-dev apt-get install freetds-bin apt-get install unixodbc-dev apt-get install tdsodbc ============================================================ ============================================================ 2. command =======================.. 2021. 10. 6.
Internet Protocol Numbers 인터넷 프로토콜 번호 Protocol Numbers Last Updated 2021-02-26 Registry included below Assigned Internet Protocol Numbers Assigned Internet Protocol Numbers Reference [RFC5237][RFC7045] Decimal Keyword Protocol IPv6 Extension Header Reference 0 HOPOPT IPv6 Hop-by-Hop Option Y [RFC8200] 1 ICMP Internet Control Message [RFC792] 2 IGMP Internet Group Management [RFC1112] 3 GGP Gateway-to-Gateway [RFC823] 4 IPv4 IPv4 enc.. 2021. 10. 1.
rfc791 rfc-791 DARPA INTERNET PROTOCOL PROGRAM SPECIFICATION 인터넷 프로토콜 문서 INTERNET PROTOCOL DARPA INTERNET PROGRAM PROTOCOL SPECIFICATION September 1981 2021. 9. 29.
728x90
반응형