You should not include your password :) On Jul 19, 10:28 am, Bob <[EMAIL PROTECTED]> wrote: > yes, here it is. > > class DATABASE_CONFIG > { > var $default = array('driver' => 'mysql', > 'connect' => > 'mysql_connect', > 'host' => > 'localhost', > 'login' => > 'br_cake', > 'password' => > 'xxxxxx', > 'database' => > 'cakeDB', > 'prefix' => > ''); > > var $test = array('driver' => 'mysql', > 'connect' => > 'mysql_connect', > 'host' => 'localhost', > 'login' => 'br_cake', > 'password' => > 'xxxxxx', > 'database' => > 'cakeDB', > 'prefix' => '');} > > ?> > > On Jul 19, 12:06 pm, rtconner <[EMAIL PROTECTED]> wrote: > > > Did you config the configure/database.php file? > > > On Jul 19, 10:43 am, Bob <[EMAIL PROTECTED]> wrote: > > > > Thanks for the reply. > > > > I set up the database this morning and it is up and running, but still > > > unable to connect. > > > > Any other suggestions? > > > > On Jul 19, 11:37 am, "John David Anderson (_psychic_)" > > > > <[EMAIL PROTECTED]> wrote: > > > > On Jul 19, 2007, at 10:28 AM, Bob wrote: > > > > > > I am attempting to start Cake for the first time. I get the following > > > > > errors when trying to open: > > > > > > Warning: mysql_connect(): Can't connect to local MySQL server through > > > > > socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/ > > > > > b/r/ > > > > > o/brob3435594/html/cake/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/r/o/brob3435594/html/cake/cake/libs/ > > > > > model/dbo/dbo_mysql.php on line 105 > > > > > > I am very new and any help would be appreciated. > > > > > Make sure your database server is up and running, and give Cake a try > > > > once you're sure it's up. > > > > > The error messages you've supplied here mean that PHP can't connect > > > > to the server. > > > > > -- John- Hide quoted text - > > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---