How do I set up a login system in pyramid using mysql as database to store email and password?
<p>I have gone through this <a href="http://docs.pylonsproject.org/projects/pyramid/en/latest/quick_tutorial/authentication.html" rel="nofollow">http://docs.pylonsproject.org/projects/pyramid/en/latest/quick_tutorial/authentication.html</a> but it does not give any clue how to add database to this to store email and password?</p>

<p>The introduction to the Quick Tutorial describes its purpose and intended audience.  Authentication and persistent storage are not covered in the same lesson, but in two different lessons.</p>

<p>Either you can combine learning from previous steps (not recommended) or you can take a stab at the <a href="http://docs.pylonsproject.org/projects/pyramid/en/latest/tutorials/wiki2/index.html" rel="nofollow">SQLAlchemy + URL dispatch wiki tutorial</a> which covers a typical web application with authentication, authorization, hashing of passwords, and persistent storage in an SQL database.</p>

<p>Note however that it uses SQLite, not MySQL, as its SQL database, so you'll either have to use the provided one or swap it out for your preferred SQL database.</p>

python authentication pyramid