a guest Oct 22nd, 2017 614 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/usr/bin/env python
- from alerts.models import *
- user = Account()
- user.username = 'testuser'
- user.password = 'testpass'
- user.email = 'firstname.lastname@example.org'
- session = Session()
- print 'committed that shiz :D'
- # sqlalchemy.exc.OperationalError: (OperationalError) (1044, "Access denied for user ''@'localhost' to database 'root:@127.0.0.1:3306/test'") None None
RAW Paste Data