Allow user use dsn without dbname

Allow user use dsn without dbname