Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pymysql.cursors
- myServer = 'localhost'
- myDatabase = 'mainDB'
- myUser = 'root'
- myPassword = 'root'
- link = pymysql.connect( host = myServer,
- db = myDatabase,
- user = myUser,
- password = myPassword)
Add Comment
Please, Sign In to add comment