Tuesday, June 18, 2013

Re: Error: Mysql requires a database connection

Faced same error while migration of project from 1.2 to 2.x. Try clearing cache

/App/temp/cache
You will find some folders...like model,view etc..dont delete those but delete all files in them..

On 18-Jun-2013 6:54 PM, "Raxit" <rajpandya1985@gmail.com> wrote:

Hi,

I am facing this problem from past 5 days. Didn't find any solution. I have checked connection many times. my team have also checked all the connections with Mysql. File is also present under same path.

Error: Confirm you have created the file : app\Config\database.php.

Notice: If you want to customize this error message, create app\View\Errors\missing_connection.ctp.

Stack Trace

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: