NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP/MySQL offline

leam leam at reuel.net
Thu Apr 29 21:50:57 EDT 2004


Newer MySQL has replication, I read it in Linux Journal.  :)

I *think* you can go cross-OS but admit my lack of knowledge.

ciao!

leam


Bill Patterson wrote:
> This should be very doable.  Some things to watch out for are the minor 
> differences in file paths (e.g. Windoze back slashes versus Linux 
> forward slashes), etc.   Generally the functionality is the same and if 
> you are not doing tricks that force operating system commands you should 
> be OK.
> Is there a reason not to run this offline on a Linux box?
> 
> Keeping the databases synchronized sounds a little more challenging.  
> MySQL nicely allows you to offload an entire database into commands that 
> restore the contents and structure elsewhere very easily.  If you only 
> want to synchronize daily this could be the way to go.  If you want 
> up-to-the-minute synchronization you may have to pipe messages between 
> the boxes, and someone else would have to give you hints on that.
> 
> Bill Patterson
> 
> 
> Mark Withington wrote:
> 
>> I've got a AMP application that my client would like to use offline.  The
>> obvious answer is to install AMP on a the client's Windoz box, and then
>> generate the logic to ensure the two databases stay synchronized.  Anyone
>> have any other ideas?  Specifically, I'd like to bypass installing 
>> Apache.





More information about the talk mailing list