phpMyAdminでインポートする時に「#1046 – No database selected」というエラーが起きた時の対処法

この記事は最終更新日から1年以上が経過しています。

XサーバーのphpMyAdminでSQLデータをインポートしようとした時にエラーメッセージが出たのでその対処法を説明します。めっちゃ初歩的なミスですがとりあえず書いておきます。

原因と解決方法

原因は「インポートするデータベースが未選択だったこと」です。phpMyAdominを開いてすぐにデータベースを選択せずにインポートしようとしてたのでこの様なエラーが起きました。
なので解決方法は簡単でインポートするデータベースを選択すればOKですw

もしもデータベースを用意してない場合は新たに作りましょう。

コメント

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny

タイトルとURLをコピーしました