Answers for "how to link python with database"

SQL
0

mysql connection python

from sqlalchemy import types, create_engine
import pymysql

try:
	conn = create_engine('mysql+pymysql://user:pass@IP/database_name')
  	print("MySQL Connection Sucessfull!!!!!!!!!!!")

except Exception as err:

	print("MySQL Connection Failed !!!!!!!!!!!")
	print(err)
Posted by: Guest on July-31-2020
0

building a database with python

import json
import os
Posted by: Guest on November-30-2020

Code answers related to "how to link python with database"

Code answers related to "SQL"

Browse Popular Code Answers by Language