Database connection

db fixed?