Database isn't working all else works

Database stuff needs to be added, couldn't get it to work