fixed the no-database issue with the sql-client