some how mysql database in wamp server 2 got replaced by older database and i am unable to restore the database to the location (before being replaced by old data) from the latest backup i have . is there any way i can restore the data to my required position.

any way except restoring it from backup sql file as its corrupt.

Repairing tables with mysqlcheck or another variant to learn helpful topics about mysql databases

But in case your corruption can't be overcome, then I would suggest you more powerful instrument for such cases Recovery Toolbox for MySQL

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.