Database now working.

Database now connects properly.
Update
Updated