$dsn had typo in it, fix'd