Sql fixed

Sql fixed with local host database