WAMP with other database
Posted by: k0b13r (---.lanet.net.pl)
Date: March 16, 2010 08:35PM

Hi! I would like to ask one question. I'm using MySQL database (running as a service) on my PC and I don't know if it is possible to use this already installed release as a database for WAMP. There are a lot of databases created and I'd rather not use other instance of MySQL ... I would appreciate any help, thanks ! smiling smiley

Options: ReplyQuote
Re: WAMP with other database
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 16, 2010 08:55PM

u can use it but its easier to use wamps


open yours... and export all the dbs . now import them in wamps

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP with other database
Posted by: yfastud (Moderator)
Date: March 16, 2010 11:46PM

suggest you install wamp in other pc for testing first, export all your current db and import them into mysql in wamp as well as all needed web pages, test them thoroughly; if working, uninstall your current mysql, search and delete any related files, restart that pc, then install wamp, import db and webpages and enjoy winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: WAMP with other database
Posted by: k0b13r (---.lanet.net.pl)
Date: March 17, 2010 11:14AM

Thanks for answers. I know that I could just install WAMP with it's own MySQL, but this database must be running all the time, not only when WAMP is running. Is it possible to use WAMP MySQL as a service, while Apache & PHP like a normal application?

Options: ReplyQuote
Re: WAMP with other database
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 17, 2010 11:26AM

yes of course. wamp doesnt even need to be running for the server and mysql to work

there in services.msc like all services

wampapache
wampmysqld

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP with other database
Posted by: k0b13r (---.lanet.net.pl)
Date: March 17, 2010 02:03PM

Hi again! Thanks guys, I followed your advices and almost everything works fine. Just one, last problem: when I exit WampServer manager (this one from system tray) it shuts down my MySQL service, is anything I can do about it? Maybe some changes in configuration? Thanks in advance for reply!

Options: ReplyQuote
Re: WAMP with other database
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 17, 2010 02:30PM

well yes


in c:/wamp/wampmanager.tpl


find this section


[myexit]
;WAMPMYEXITSTART
Action: service; Service: wampapache; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: wampmysqld; ServiceAction: stop; Flags: ignoreerrors
Action: exit
;WAMPMYEXITEND



and comment out like so

[myexit]
;WAMPMYEXITSTART
;Action: service; Service: wampapache; ServiceAction: stop; Flags: ignoreerrors
;Action: service; Service: wampmysqld; ServiceAction: stop; Flags: ignoreerrors
Action: exit
;WAMPMYEXITEND


NOTE :- ********** ONLY EDIT THIS FILE WHEN WAMP IS COMPLETLY SHUT DOWN********


Note :- i dunno if when you restart if wamp will it shut down and reopen the service.... let me know and ill find a solution for u

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP with other database
Posted by: k0b13r (---.lanet.net.pl)
Date: March 17, 2010 05:02PM

Thanks Martin! It works great smiling smiley When I start Wamp it does nothing with the service, so it's ok winking smiley



Edited 1 time(s). Last edit at 03/17/2010 05:03PM by k0b13r.

Options: ReplyQuote
Re: WAMP with other database
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 17, 2010 05:13PM

cool no problem

if you wanted to make it better u cud add a new option to the menu..

exit
and exit(keep running)

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 03/17/2010 05:14PM by stevenmartin99.

Options: ReplyQuote


Sorry, only registered users may post in this forum.