If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Passing Pervasive to MySQL and vice-versa

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-19-04, 15:37
RobN RobN is offline
Registered User
 
Join Date: Feb 2004
Posts: 3
Passing Pervasive to MySQL and vice-versa

Hi all,

I have an interesting project at hand.

We wish to allow our customers, and business partners to be able to update their own details on our database.

This database is written in pervasive (we're on the 2000 engine at the moment, i'm sure we'll upgrade to 8 shortly).

My intention, for security purposes is to write the front end in php sitting on a mysql database. Daily, I want our in-house pervasive database to refresh with the externally facing mysql (live) one.

Is this possible?
Is it easier to cut mysql out altogether? (if so how).
Can anyone recommend a platform and webserver? (I intend to write the coding in PHP).

As you can tell this is at a very initial stage and i'm way open to suggestions and ideas.

Thanks!

Rob
Reply With Quote
  #2 (permalink)  
Old 02-19-04, 19:15
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
With PHP, you can use ODBC to access the data on the Pervasive engine. If you're using Pervasive V8.5, you can even use Linux as the PHP/Web server and have Linux as the Pervasive client.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 02-20-04, 12:31
RobN RobN is offline
Registered User
 
Join Date: Feb 2004
Posts: 3
Hi!

Many thanks for the reply!

Do you know if the Pervasive Engine has to be on the same box as the Web Server or if the requests can be passed remotely?

Many thanks again!

Rob
Reply With Quote
  #4 (permalink)  
Old 02-20-04, 21:40
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
In most cases, the Web server can pass requests to a remote database server. The Web Server will basically be seen as a client to the database server.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #5 (permalink)  
Old 02-23-04, 10:16
RobN RobN is offline
Registered User
 
Join Date: Feb 2004
Posts: 3
Many thanks again

Rob

Quote:
Originally posted by mirtheil
In most cases, the Web server can pass requests to a remote database server. The Web Server will basically be seen as a client to the database server.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On