tags:

views:

192

answers:

1

how do i ping mysql using mysql alchemy and python?

+1  A: 

Use mysqlshow to see if MySQL is running as expected.

http://dev.mysql.com/doc/refman/5.1/en/mysqlshow.html

Assure that SQLAlchemy has supprt for MySQL.

http://www.sqlalchemy.org/docs/05/dbengine.html#supported-dbapis

Use a simple query through SQLAlchemy.

http://www.sqlalchemy.org/docs/05/ormtutorial.html

S.Lott