mysql - How to take stored procedure backup as i already uninstalled wamp? -


i uninstalled wamp , reinstalled on drive . have taken folder c:\wamp\bin\mysql\mysql5.5.24\data d:\wamp\bin\mysql\mysql5.6.17\data database. takes tables , data not stored procedures.

can 1 explain me location of stored procedures files restore again?

you cannot copy databases between different versions of mysql database manager. things change when version numbers change.

i think have reinstall d:\wamp version of wampserver undo mistake of copying mysql5.5 data mysql5.6 environment.

  • do uninstall
  • manually delete d:\wamp
  • reinstall onto d:
  • check basic stuff works

  • stop wampserver

now copy backup of c:\wamp\bin\mysql\mysql5.5.24\data d:\wamp\bin\mysql\mysql5.5.24\data note should have 2 folders under d:/wamp/bin/mysql

so have 2 versions of mysql installed , available on new instance of wampserver.

  • start wampserver
  • switch old mysql version

    left click wampmanager->mysql->version , click on 5.5.24

  • take backup of databases want migrate new version of mysql. backup databases not didnt create yourself!

  • switch new version of mysql

    left click wampmanager->mysql->version , click on 5.6.17

  • now restore databases

you can either leave old version of mysql there , available switch if want or can stop wampserver , delete d:/wamp/bin/mysql/mysql5.5.24 folder. restart, , should no longer there availabel switch to.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -