Hi Catling and bhushan,
WAMPServer do not write or maintain MySQL they just deliver it as part of the WAMPServer collection of Apache/MySQL/PHP/phpMyAdmin etc.
If you need to learn how to use MySQL or phpMyAdmin, please see my signature for links to the relevant product websites.
However the first thing to check is :-
Quote
FROM THE MANUAL
When you add a foreign key constraint to a table using ALTER TABLE, remember to create the required indexes first.
---------------------------------------------------------------------------------------------
(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 --
phpMyAdminGet 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-