close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How do I update the ps4_products table from a inventory table on another database on another server?

Thread began 11/10/2015 4:58 pm by Jared Lui | Last modified 11/10/2015 8:22 pm by Ray Borduin | 406 views | 3 replies |

Jared Lui

How do I update the ps4_products table from a inventory table on another database on another server?

This may belong in the PHP/SQL forum but it relates to my Powerstore instance. I'll move if necessary.

My client uses some pretty sophisticated inventory/accounting software that they do not want to abandon for their new shopping cart system. Therefore I am building this around their current system. My goal is to auto-magically pull some of the inventory details from their current SQL database on their server and use it to keep their inventory in sync on the shopping cart which has a separate database on a different server. This only needs to be a one way process, syncing from their database to the Powerstore DB but not sync back.

I am looking for advice on the best approach to do this. I have never tried to link two databases together let alone from different servers.

Last resort is to put the shopping cart on the same server as the other database/software. I'd rather not do that as we do not control it AND they update their software pretty frequently and have been known to delete off files/directories that do not belong to their software.

Appreciate anyone that can point me in the right direction. Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

Can you connect to the database remotely from your web site? The solution will be to either connect to their database directly to verify inventory, possibly on the product details page, or to build a web service on their existing server so you can do an ajax call to confirm inventory.

Sign in to reply to this post

Jared Lui

Please see PM

Sign in to reply to this post

Ray BorduinWebAssist

If it is set up to allow it you can just set up a connection using the IP address of the remote server and connect to it directly from your site just like your current database.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...