Sql console fix