So, we placed the app in a Sandbox server with the DB URL pointing to
the amazon cloud. Now, the client wants to move it to a production
server, where the URL will be different. Hence, they are asking us to
use
$server = get_cfg_var('mysql.default_host')


On Dec 25, 3:55 am, "Dr. Loboto" <[email protected]> wrote:
> If it is about using default host only, try without it at all.
>
> On Dec 25, 2:35 am, Ashu <[email protected]> wrote:
>
>
>
> > I have a cakePHP app with my DB servers configured in the app/config/
> > database.php file. However, I need to use the get_cfg_var
> > ('mysql.default_host') to get the host name because the client does
> > not want the name hardcoded. I would appreciate a quick response
> > regarding where the changes need to be made.
>
> > Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to