Make sure the database you are importing is a SQL file. If the file is zipped, unzip it.
Make sure there are no queries in the imported database like CREATE DATABASE1)... If there are such requests, the lines with them must be removed from the file using any text editor (for example, Notepad++).
If the database to be imported into has not yet been created in the control panel, create it.
If the database to be imported into must be empty, clean it.
To import a database through Sequel Pro, do the following: