P
|
procheck 11/1/2010 |
Assuming that you're talking about one database and identical tables(some people connect to a 2nd database), you'll find your MySQL connect information in dbcommon.php. You will need to copy & keep a separate dbcommon and upload it to the internet. This one will have the information required to connect to your database on the net. You will find dbcommon.php in the include directory. |
![]() |
Admin 11/1/2010 |
Al, |
P
|
procheck 11/1/2010 |
I hadn't notice the addition. Nice new feature. |
O
|
ofi author 11/1/2010 |
You can setup several connection settings on 'Output directory' screen.
|
J
|
Jane 11/2/2010 |
No. You don't need to set up server database connections for local db. |
O
|
ofi author 11/3/2010 |
OK, it is still unclear to me how to work with two databases (one local and one remote) through PHPR. |
![]() |
Admin 11/3/2010 |
PHPRunner does not synchronize databases. There are excellent third party tools that can do the job. PHPRunner is about building the code. |
O
|
ofi author 11/3/2010 |
So the procedure is to develop locally, upload the code with "Publish via FTP" and sync the database structure manually. Is that correct? |
![]() |
Admin 11/3/2010 |
It really depends on many factors. If you plan to modify database structure a lot - develop everything locally, test it, then upload everything to the server and synchronize databases. This approach makes sense if you already have a live application you cannot afford to break. |
O
|
ofi author 11/4/2010 |
Understood. Thanks for the advice. |