Mac
Posts: 37
|
| Posted: 08/03/2007, 9:30 PM |
|
Hi folks.
Usually when I am developing with codecharge I have access to the live database server so when I finally push a project live I just set it up the live server as a new server in project setting, configure the connections to use the live mysql server and then publish.
This time around I need to publish to shared hosting and do not have direct access to the mysql server, how do I go about publishing a project?
Thanks in advance.
_________________
/\/\@< |
 |
 |
wkempees
|
| Posted: 08/04/2007, 3:07 AM |
|
Define a second Server Profile in ProjectSettings Publishing.
Help file Manuals: Deploying an application
Walter
"Mac" <Mac@forum.codecharge> schreef in bericht
news:246b400e65fcd6@news.codecharge.com...
> Hi folks.
>
> Usually when I am developing with codecharge I have access to the live
> database
> server so when I finally push a project live I just set it up the live
> server as
> a new server in project setting, configure the connections to use the live
> mysql
> server and then publish.
>
> This time around I need to publish to shared hosting and do not have
> direct
> access to the mysql server, how do I go about publishing a project?
>
> Thanks in advance.
> _________________
> /\/\@<
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>
|
|
|
 |
TheunisP
Posts: 342
|
| Posted: 08/04/2007, 4:26 AM |
|
Walter, I think he needs a server to connect to do the dev. - which means that as you said create another server profile and setup a dev mysql server - there must be versions that you can set up local - imagine the speed - your connection wil fly
the long and short is that will need a sql server or a even maybe a temp access db to dev against
|
 |
 |
Mac
Posts: 37
|
| Posted: 08/04/2007, 6:52 AM |
|
Sorry guys perhaps I didn't explaing it clearly enough (you know those 4am coding session fry a persons brain)
I have a lovel development server, no problems there, the problem is how do I push the application live? I cannot connect to the hosted mysql server using ODBC so cannot set up a data connection to it.
Publishing the code no problems, just set up a new server, it's the database that's got me confused.
It's probably really easy but something I have not had to do before, usually I have direct access to the database server of the live environment.
_________________
/\/\@< |
 |
 |
Mac
Posts: 37
|
| Posted: 08/04/2007, 8:20 AM |
|
Ah ha! I got it working by changing the $CCConnectionSettings = array ( settings in common.php and manually pushing it to the production server.
I'm sure there is a more elegant way of doing it but at least it works!
_________________
/\/\@< |
 |
 |
wkempees
|
| Posted: 08/06/2007, 3:14 AM |
|
Wrong.
Reread my post.
It will be so much more easy.
You do NOT need to change anything, but choose the right server profile.
If it is there why not study and use it.
Walter
"Mac" <Mac@forum.codecharge> schreef in bericht
news:246b4995a9e794@news.codecharge.com...
> Ah ha! I got it working by changing the $CCConnectionSettings = array (
> settings
> in common.php and manually pushing it to the production server.
>
> I'm sure there is a more elegant way of doing it but at least it works!
> _________________
> /\/\@<
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>
|
|
|
 |