Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

How do I properly set up another version of MySQL within Wamp? (4 replies)

$
0
0
I am using Wampserver 3.0.6 (64-bit) on Windows 10. Everything works fine on the default settings, but the lessons I am taking require MySQL 8.0 or higher. I know it is possible to set up Wamp to work with multiple versions of a language, but after hours of attempts and following various directions found through Google, I have not been able to successfully get this working. I do not have any databases that require backing up, so that is not a concern at this point, though of course I will need to know how to do so eventually.

From what I understand, the steps are something like the following:

- Download MySQL version and extract to a folder, e.g. mysql-8.0.2-dmr-winx64
- Copy the contents of the folder to a new mysql subdirectory, e.g. wamp64/bin/mysql/mysql8.0.2
- Copy the data folder from mysql5.7.14 to mysql8.0.2
- Copy wampserver.conf from mysql5.7.14 to mysql8.0.2
- Copy my.ini from mysql5.7.14 to mysql8.0.2
- Edit mysql8.0.2/my.ini and replace all instances of mysql5.7.14 with mysql8.0.2 (then save)
- Run WampServer64 as administrator

At this point, if I hover MySQL -> Version in my taskbar, it shows 5.7.14 with a check, and 8.0.2 below it. I click on mysql8.0.2 and a command window quickly opens and closes. At this point, the WampServer icon in my taskbar is orange. If I hover it, it says "local server - 1 of 2 services running". If I try to run the MySQL console, a command window opens and asks for a password. I hit enter because no password is set, and the command window says "ERROR (something something)" and instantly closes.

What is is that I am doing wrong?

Viewing all articles
Browse latest Browse all 3177

Trending Articles