phpMyadmin database import error #1046 - No database selected

后端 未结 3 601
故里飘歌
故里飘歌 2021-02-05 12:05

I have an sql file that i exported from phpmyadmin on another computer. I tried to import the file on this computer and I get this error:

Error
<
3条回答
  •  醉话见心
    2021-02-05 12:46

    Append the following line to the beginning of your sql file

    CREATE DATABASE phplogin;
    

    These problems can be resolved by exporting the SQL file while being outside the database.Then phpmyadmin automatically appends the above statement to the SQL file

提交回复
热议问题