I have had many problems with sorting out the database. Firstly a public_html file was missing meaning that nothing on my dakar server was working. This means i created a new public_html file and moved all of my folders into it.
Then I tried to make the database. I logged into myphpadmin and created a table using the appropriate variables to make the database work well. I then changed the connect.php file to be able to access my phpmyamdin account by adding the appropriate data.