Hi, I use ob-sql with the :dbconnection param so I don't have my username and password in my org file. But often I don't want to use the default database from the dbconnection alist but rather specify it explicitly with :database. Attached is a patch that fixes this. Thanks, Daniel