Hello,
I had an old version of Wampserver. With that I backed up all databases in this way: I clicked on the database, then on "Export". I left it marked "Fast - displays the minimum of options". I also backed up my www folder.
Then I went to [www.wampserver.com] and downloaded WAMP SERVER 64 BITS (X64) 3.2.0. I noticed the need to install some files at that time indicated in the installation.
With that, I clicked on phpMyAdmin 4.9.2. Then opened the home screen "Welcome to phpMyAdmin" and in "User:" I indicated "root", as I always did. In "Server choice:" it shows "MariaDB" and before I entered MySQL. I couldn't find where to mark it so I can enter it with "MySQL".
As I always used MySQL I left MySQL checked and opened "phpmyadmin" at http: //localhost/phpmyadmin/index.php? Server = 2.
To do the import I clicked on the "import" tab, then went to "Search your computer:" "Brawse" and pointed to my file that I want to import.
It turns out that it only shows error according to this example:
File name in the backup folder: banco_teste.sql
After pointing to the file and clicking "Run" it shows the following result:
1) "Import finished successfully, 18 queries executed. (Banco_teste.sql)";
2) below it shows the following message:
"Mistake
SQL command:
-
- Database: `banco_teste`
-
- ------------------------------------------------ --------
-
- Structure of the `registration` table
-
DROP TABLE IF EXISTS `registration`
MySQL Messages: Documentation
# 1046 - No database was selected "
I clarify that the database is not imported.
I've been trying for two days and I can't solve it.
Please help me.
I had an old version of Wampserver. With that I backed up all databases in this way: I clicked on the database, then on "Export". I left it marked "Fast - displays the minimum of options". I also backed up my www folder.
Then I went to [www.wampserver.com] and downloaded WAMP SERVER 64 BITS (X64) 3.2.0. I noticed the need to install some files at that time indicated in the installation.
With that, I clicked on phpMyAdmin 4.9.2. Then opened the home screen "Welcome to phpMyAdmin" and in "User:" I indicated "root", as I always did. In "Server choice:" it shows "MariaDB" and before I entered MySQL. I couldn't find where to mark it so I can enter it with "MySQL".
As I always used MySQL I left MySQL checked and opened "phpmyadmin" at http: //localhost/phpmyadmin/index.php? Server = 2.
To do the import I clicked on the "import" tab, then went to "Search your computer:" "Brawse" and pointed to my file that I want to import.
It turns out that it only shows error according to this example:
File name in the backup folder: banco_teste.sql
After pointing to the file and clicking "Run" it shows the following result:
1) "Import finished successfully, 18 queries executed. (Banco_teste.sql)";
2) below it shows the following message:
"Mistake
SQL command:
-
- Database: `banco_teste`
-
- ------------------------------------------------ --------
-
- Structure of the `registration` table
-
DROP TABLE IF EXISTS `registration`
MySQL Messages: Documentation
# 1046 - No database was selected "
I clarify that the database is not imported.
I've been trying for two days and I can't solve it.
Please help me.