If you’re using code that someone else created, it’s necessary to use the exact same database schema or setup so that the code can communicate with the database.
First, you have to make sure that you’ve created a database, and a user has been assigned permissions to that database. I have a guide covering how to do that here.
Then, go to your cPanel dashboard and open phpMyAdmin under Databases. Select your database on the left sidebar.
At the top of the screen, click on Import.
Under File to import, browse for your .sql or zip file.
Leaving all of the options at default, click Go at the bottom.
Now when you visit your database, you’ll see a table (or more) has been added. While viewing your table, you can click on the Structure tab to view the schema that has been imported. It’s important to leave everything unchanged.