Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pymysql
- conn = pymysql.connect(host='sql33.main-hosting.eu', user='u151982936_tick', passwd='YenZSL1oiIrr',
- db='u151982936_samp')
- cur = conn.cursor()
- def auth(ids):
- cur.execute("SELECT * FROM t1_test WHERE newid = '%s' and Password =" ids)
- for response in cur:
- print(response)
- break
- else:
- print('Такого аккаунта нету, го зарегаем!')
- register()
- cur.close()
- conn.close()
- ids = int(input("Введи свой айди: "))
- auth(ids)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement