MYSQL error as below:
#1046 - No database selected
Solution:
Select a database before importing sql files, otherwise the system can’t determine which database your sql files are actually going to be imported to, so it will report an error as above.