databases disappear when switch mysql version
Posted by: gleanweb (---.hsd1.or.comcast.net)
Date: April 14, 2021 01:29AM

Installed wampserver3.2.3 . All my databases appear and work correctly when I select mysql version 5.7.14 . If I switch to version 8.0.21 the databases disappear (although their names remain), and the web pages cannot connect.

Is that normal?

Can I upgrade the mysql version for my current databases from 5.7 to 8.0?

Options: ReplyQuote
Re: databases disappear when switch mysql version
Posted by: gleanweb (---.hsd1.or.comcast.net)
Date: April 14, 2021 02:02AM

To be more specific: when I switch to mysql 8.0.21, then in phpMyAdmin all of the databases are still listed on the left side but there are red error messages saying "no database selected". If I refresh the page, the databases are no longer listed. If I try to import a database from my backup, I get "no database selected".

Options: ReplyQuote
Re: databases disappear when switch mysql version
Posted by: gleanweb (---.hsd1.or.comcast.net)
Date: April 14, 2021 03:01AM

Figured it out. You have to first add each database back as a "new" database and only then import the backup for each one.

Options: ReplyQuote
Re: databases disappear when switch mysql version
Posted by: 882150518 (112.134.237.---)
Date: June 02, 2021 12:45PM

databases disappear when switch mysql version

Options: ReplyQuote
Re: databases disappear when switch mysql version
Posted by: 882150518 (112.134.237.---)
Date: June 02, 2021 12:46PM

12

Options: ReplyQuote
Re: databases disappear when switch mysql version
Posted by: RiggsFolly (Moderator)
Date: June 02, 2021 12:55PM

I think the answer shoudl be 42 actually.

The only way to do this is to Backup the databases in the version they exist in. Then restore them into the newly installed version.

Not rocket science, just EXPOST and IMPORT using phpMyAdmin

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 2 time(s). Last edit at 06/02/2021 01:01PM by RiggsFolly.

Options: ReplyQuote


Sorry, only registered users may post in this forum.