Error when importing a database PHPMY'SADMIN


#1

I’m trying to import a database to PHP MY ADMIN.

While trying to import I’m getting an error message.

And I’m not sure why I’m getting an error message?

When I checked the file type it is SQL.

I am attaching the following to help you guys solve my problem:

You can find the before and after screenshots at the following links:

https://drive.google.com/file/d/1rvDQfWZhbi4sQ3Lq0N82dc2cEob0OFco/view?usp=sharing

https://drive.google.com/file/d/1ewZQdR8AfYwcgqrwiF1hzb_oui5SGyIz/view?usp=sharing

2.The database I am trying to import.

You can find the database following:

https://drive.google.com/file/d/1caqNHWVcFVu0CzdiqyDQTgoI0MjZ66Wi/view?usp=sharing

Thank you in advance for your help.


#2

You are going straight to the import section of PHPMyAdmin before choosing a database. Your sql file probably only contains the instructions for creating the tables and filling them with data but you need to create an empty database with the correct name first, then go into that database, then go to the import functionality within that.