Sync Wamp on laptop
Posted by: dbnavan (---.dsl.digiweb.ie)
Date: February 17, 2008 02:00AM

I have wamp running on my desktop with sql database/php the works, is there anyway I can sync with wamp which is on my laptop and networked for working on the project on both pc's, what files must i copy?

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 17, 2008 02:08AM

no u cant do this. u could keep the server on one..


and on ther other acess it by using its ip address

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: yfastud (Moderator)
Date: February 17, 2008 03:50AM

You should check Setup Virtual Hosts on my personal website instead

Have fun,

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

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: dbnavan (---.dsl.digiweb.ie)
Date: February 17, 2008 02:06PM

Think question was misunderstood, i just want to be able basically to copy my wamp folder to my laptop, so I can work on my project when not on my desktop, not when they are networked

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 17, 2008 02:20PM

you can install a copy of wamp on both computers...

this is the only way


you need a server on both computers..
to run any webpages


the folder www then could be synced so wen they are on same network the both get updated..

but remember msql databases are stored somewhere else and they can not be synced while either server isrunning, if u try it u will corrupt both copies.




if you explain the exact situation then im sure there is a way yo solve it differently.

where will. your laptop be when u wanna use it? will it have internet access?

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: dbnavan (---.dsl.digiweb.ie)
Date: February 17, 2008 02:25PM

The situation is I am working on a project on my desktop, and will be using my laptop on way to college, buses trains etc.

I had this set up before and now for some reason cant remember how i did it. Recently lost all data on laptop and trying to set it all up again

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 17, 2008 02:29PM

ok i can help u copy it now... but once u work on the laptop and amke changes then u wont have these changes on the pc?



Edited 1 time(s). Last edit at 02/17/2008 02:29PM by stevenmartin99.

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: dbnavan (---.dsl.digiweb.ie)
Date: February 17, 2008 02:33PM

if i get all the data onto my laptop I am happy to work on it there all the time, I just got everything working ie the WWW folder and wamp server, just working on moving the databases

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 17, 2008 02:35PM

ok make sure server is shut down wen u do this. as each table has 3 files- two which wont copy while server is running.


thats all you need to do

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: yfastud (Moderator)
Date: February 17, 2008 03:56PM

Actually, it has a easy way to resolve it by putting wamp on usb stick and also google for some free sync soft to put on usb stick as well; then, if you have some files change in desktop, just use free sync soft to update those files on usb stick, and with wamp on usb stick, you can work on your project(s) on any other desktop/laptop no matter it's xp or vista ;-)

Have fun,

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

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 17, 2008 03:57PM

he only wants to copy them once and work off the laptop from now on-

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: yfastud (Moderator)
Date: February 17, 2008 04:00PM

It just a suggestion, but if he really just want to copy once, then just google for some free sync soft and save on usb stick then just update files b/w desktop and laptop ;-)

Have fun,

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

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: infocom (---.bb.sky.com)
Date: April 11, 2008 02:09PM

Hi

I have this issue also. I have a desktop and a laptop. At the moment I have to zip up the website files and export the DB then unzip and import the DB on the laptop, then back again. Its a real pain.

So I was wondering if WAMP could be installed on both machines, then have the localhost directory set to the USB stick drive. This would work wouldn't it? You just swap the USB around and WAMP will use the files on there everytime.

The only problem I see is with the database. Can WAMP be configured to have the MySQL database and phpmyadmin on the USB stick too?

OR would it be better at install time choose the USB stick to install it. Then when you run WAMP on both machines it will run it from the USB stick and so this is where the database would be.

Thanks



Edited 1 time(s). Last edit at 04/11/2008 02:09PM by infocom.

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: yfastud (Moderator)
Date: April 11, 2008 02:15PM

Your issue is much simpler to solve, but I'm a little busy now; will get back to you later ;-)

Have fun,

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

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: April 11, 2008 09:26PM

id personall put both folders on the stick and let mysql and apache find the files ur working on , on the stick..


u cud install it onto the stick....= then just move it around to each pc... but there are some regiesdty settings needed on both computers for it to work.

Options: ReplyQuote
Re: Sync Wamp on laptop
Posted by: toivo (---.nsw.bigpond.net.au)
Date: April 11, 2008 10:15PM

Hi,

Isn't MySQL replication designed for this type of operation? See [dev.mysql.com].

The master and slave servers do not have to be connected all the time.

Regards,

toivo
nottingham, uk

Options: ReplyQuote


Sorry, only registered users may post in this forum.