your ISP? you mean your hosting provider? you need to add the IP of the hosting provider anyway. if you host the code on the same server as the MySQL server, use "localhost"
On Jun 4, 10:27 pm, Russ <[email protected]> wrote: > I'm experimenting with connecting to a MySQL server that resides > remotely on an ISP host rather than running locally. My database.php > is defined as: > > var $default = array( > 'driver' => 'mysql', > 'persistent' => false, > 'host' => 'XX.XX.XX.XX', > 'login' => '...', > 'password' => '...', > 'database' => 'cakeproto', > 'prefix' => '', > > When I test out the site, I'm told that cake is not able to connect to > the database. > > For the host variable I simply put in the IP address of my ISP. Is > this the correct way to do this? My ISP is Bluehost and they provide > the ability to remotely access a MySQL database. > > So my question is: for the host variable, do all I need is the IP > address? > This isn't much documentation on this. Maybe one of the many experts > out there can shed light on this issue. > > Thanks! > > Russ Chaffin > Regional Webmaster > USDA Forest Service > Southern Region --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
