Upgrade MySQL 5.6 to 5.7 -
i'm quite new mysql , learning fast. installed wamp on system , have been using month or so. i'm looking upgrade mysql 5.7 in need of new gis features can't find easy follow step step on need do.
i have been reading on @ mysql on how done find either confusing or incomplete, not sure which. have been reading last 6 hours , still no closer knowing how done.
i have backed databases, i'm not concerned @ point still in development , learning state , rebuilt anyways.
how upgrade 5.6 5.7 full instructions?
download zip version of mysql want run ( not msi installer, because dont know may or assume when installs ) suggested source [www.mysql.com]
from wamp manager, stop services.
go c:\wamp\bin\mysql\ , create new folder named appropriately i.e mysql5.5.28
unzip mysql , copy contents of mysql folder newly created folder. make sure directory levels same existing mysql folder.
copy contents of previous mysql\mysql5.5.10\data folder new data folder under newly created version folder. thats not databases, including ibdata1, ib_logfile0, ib_logfile1 , mysql-bin.0000xx files. going use recommended mysql-upgrade tool ok do. ensure keep users , password , granted privilages intact when upgrade complete.
copy c:\wamp\bin\mysql\mysql5.5.10\wampserver.conf c:\wamp\bin\mysql\mysql5.5.28\wampserver.conf folders in here relative file lives, nothing need changing in here.
right click wampmanager -> refresh make wamp manager find new version. check left click wampmanager -> mysql -> versions new version should available in list.
from wamp manager -> mysql -> version click on new version. have uninstall old wampmysql service , re-install new wampmysql service, wamp takes care of clicking new version number. should start new mysql service, new mysql running. dont yet!!!
launch command window ( using run administrator ). cd c:\wamp\bin\mysql\mysql5.5.28\bin folder ( new releases bin folder ). , run mysql_upgrade -u[your mysql admin userid] -p > upgrade_results.txt
it ask password admin user provided on -u parameter. enter password.
wait while runs, if have large databases may take time take few seconds minute or two. @ databases , upgrades required , upgrades/maintenace of mysql database mysql uses internally. thats tables contain userids , password , privilages , other things.
check errors in upgrade_results.txt file, fix if there any. can repeat like, refresh data old versions data folder each time.
left click wamp manager -> mysql -> service -> stop service. again , start service. load changed mysql database new/changed config info.
at point assuming staying on newly installed version of mysql idea run: wampmanager -> mysql -> mysql console , run a
reset master;
to reset log files.
from here: http://forum.wampserver.com/read.php?2,111797,124054
Comments
Post a Comment