repl.it
@wolf32669/

pythonmysql

Python

No description

fork
loading
Files
  • main.py
  • Packager files
  • requirements.txt
main.py
1
2
3
4
5
6
7
8
import mysql.connector

DB = mysql.connector.connect(host='localhost', user='', passwd='pow')
print(DB)

cursor = DB.cursor()
cursor.execute('Darsec DATABASE mydb')
Fetching token
?