thanks that's what I ended up doing using the ip =)
On Apr 10, 9:47 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> Try putting localhost, or 127.0.0.1. If your database is hosted in
> other host than the one running the webserver, put the ip there.
>
> On Wed, Apr 9, 2008 at 9:49 PM, Fabian <[EMAIL PROTECTED]> wrote:
>
> > I'm getting this warnings:
>
> > Warning: mysql_connect(): Can't connect to MySQL server on 'montana-
> > realty-co.com' (111) in /home/content/b/e/n/benjimecutchen/html/cake/
> > libs/model/dbo/dbo_mysql.php on line 100
>
> > Warning: mysql_select_db(): supplied argument is not a valid MySQL-
> > Link resource in /home/content/b/e/n/benjimecutchen/html/cake/libs/
> > model/dbo/dbo_mysql.php on line 105
>
> > My config dabatase is the following:
>
> > var $default = array('driver' => 'mysql',
> > 'connect'
> > => 'mysql_connect',
> > 'host' =>
> > 'montana-realty-co.com',
> > 'login' =>
> > 'montanarealty',
> > 'password'
> > => '',
> > 'database'
> > => 'montanarealty',
> > 'prefix' =>
> > '');
>
> > I don't know if the host is ok or what should I place there?
>
> > the domain is :http://www.montana-realty-co.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---