Can you connect to the database from a terminal? Can you connect from
a regular PHP script?

I don't know why you're referring to your Apache config; that's
unlikely to be the source of your DB connection problems.

On Fri, May 23, 2008 at 2:54 PM, adroitus <[EMAIL PROTECTED]> wrote:
>
>
> Hello All CAKE Gurus,
>
> Please help me , I am not able to still connect to database for some reason
> ,
> I am not getting - Your database configuration file is present --- still  :(
>
>
> I am new to CakePHP framework and I am having a tough time with the correct
> installtion.
> So far I get to see the default page after installation
> -----
> CakePHP release information is on CakeForge
> Read the release notes and get the latest version
> Editing this Page
>
> ----- and so on ---------------
> ------------------------------------------------------------------------
> but after making changes to database.php
> I should get
> ----
> CakePHP release information is on CakeForge
>
> Your database configuration file is present.
> Cake is able to connect to the database.
>
> --- and so on ------------------
> ------------------------------------------------------------------------
>
> I have unzipped CakePHP in the root directory
> D:/web/test. I would like to tell that I have Apache 2, PHP 5 and MySQL 5
> and phpmyAdmin all configured before and is working fine.
>
> I made the following changes to httpd.conf
>
> 1; LoadModule rewrite_module modules/mod_rewrite.so - uncommented
> 2; <Directory />
>    Options FollowSymLinks
>    AllowOverride All ( Changed to All from NONE )
> </Directory>
>
> changed to database.php file
>
> 'connect' => 'mysql_connect',
>                                                                'host' =>
> 'localhost',
>                                                                'login' =>
> 'root',
>                                                                'password'
> => 'newpassword',
>                                                                'database'
> => 'test',
>                                                                'prefix' =>
> '');
>
> but still it is not working. Please let me know what else changes should I
> make to to configure database and to connect to database.
>
> --
> View this message in context: 
> http://www.nabble.com/PLEASE-HELP-URGENT-%21%21%21%21-tp17433336p17433336.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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