added connect('mydb') to __init__.