Featured post
php - Upgrade WAMP to MySQL 5.5? -
my dev team uses wamp php/mysql environment learnt uses mysql 5.1 , mysql @ 5.5 now. can mysql upgraded 5.5 separately without issue make work wamp or there patch wamp latest mysql?
i want ensure work latest build of mysql not sure if simple download mysql 5.5 , gets auto-added wamp server, or if there compatible? assume since wamp never updated mysql not compatible?
found you:
step1: (x represents number)
download latest version of mysql first... copy new folder of mysqlx.x wamp\bin\mysql\ check if folder of mysql , database files exist in mysqlx.x\data folder. if mysql folder doesn't exist, copy working previous version of mysql.
check if mysqlx.x\bin folder , executable files in exist. check if folder mysqlx.x\share exist. if don't exist, extraction of latest version of mysql isn't done properly.
check if mysqlx.x\my.ini file exist. if doesn't exist, copy file previous wokring version of wamp mysql in wamp\bin\mysql\mysqlx.x open file latest mysql version, edit occurrences of "mysqlx.x" in file "mysqlx.x" latest version number.
for example, if see line "basedir=c:/wamp/bin/mysql/mysql4.1" in my.ini file, edit "basedir=c:/wamp/bin/mysql/mysqlx.x" mysqlx.x lastest version you've downloaded. there 2 occurrences need edit: basedir=c:/wamp/bin/mysql/mysqlx.x , datadir=c:'wamp/bin/mysql/mysqlx.x/data
step2:
copy wampserver.conf file in previous version of wamp mysqlx.x folder wamp\bin\mysql\mysqlx.x. need open notepad , edit line: $mysqlconf['mysqlexefile'] = 'mysqld-nt.exe'; $mysqlconf['mysqlexefile'] = 'mysqld.exe';
look @ mysqlx.x\bin directory , find out if there mysqld.exe or mysql-nt.exe file. if there no mysql-nt.exe file, change line mentioned.
step3:
shutdown wamp2 server (by right click on wamp tray icon , click exit). restart wamp server. restart services. should see mysql newest version displayed in wamp mysql menu. click on latest version enable it, have newest mysql version running wamp server.
- Get link
- X
- Other Apps
Comments
Post a Comment