Re: Error: Mysql requires a database connection

2013-07-28 Thread vikas bose
Hi Harish, if you want to include this class or *.dll file in your application so I mention following steps 1. check the phpinfo, is *.dll file or class file available in you *.ini file or not. 2. if it is there then you might be follow that two steps a. ini_set function to include any *.dll

Re: Error: Mysql requires a database connection

2013-07-26 Thread Harish Tewari
i am facing same problem pdo driver is not enabled by godaddy. -- 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 a

Re: Error: Mysql requires a database connection

2013-06-20 Thread Raxit
Hi, I have asked for PDO driver and godaddy is not providing support for it on windows hosting. So is there any other way to connect with mysql using cakephp without using PDO ? Regards, Raxit On Tuesday, June 18, 2013 4:56:48 PM UTC+5:30, Raxit wrote: > > *Hi, > * > > *I am facing this proble

Re: Error: Mysql requires a database connection

2013-06-19 Thread Raxit
Gaurav, I did it but result is still same. Raxit On Wednesday, June 19, 2013 9:53:02 AM UTC+5:30, gaurav wrote: > > 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 >

Re: Error: Mysql requires a database connection

2013-06-19 Thread Raxit
Eric, Yes i have created one file to test Mysql connection and it is working fine. But when i write my domain name, it directly gives me error of missing database connection. I did some research and i found that it is using some different path. This site is running under apache server. but i

Re: Error: Mysql requires a database connection

2013-06-18 Thread Gaurav Matta
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" wrote: > *Hi, > * > > *I am facing this problem from past 5 days. Did

Re: Error: Mysql requires a database connection

2013-06-18 Thread Eric Haskins
Raxit, Did you edit the settings to match your User and password for your Mysql instance? Mysql is running? Eric On Tuesday, June 18, 2013 12:28:00 PM UTC-4, Raxit wrote: > > Hi raj kumar, > > I have added database.php file with same content under config folder still > it gives same error.

Re: Error: Mysql requires a database connection

2013-06-18 Thread Raxit
Hi raj kumar, I have added database.php file with same content under config folder still it gives same error. I am using cake php so it might be reason for this problem. I have check the mysql connection file under webroot, it is working perfectly fine but problem occurs when i call index.php.

Re: Error: Mysql requires a database connection

2013-06-18 Thread raj kumar Pustela
Hi.. do u have database.php file in your config folder. If don't create database.php file in your config folder Follow below process .. it's as a simple. create the database.php file and past the below code. 'Database/Mysql', 'persistent' => false, 'host' => 'localhost', 'l

Error: Mysql requires a database connection

2013-06-18 Thread Raxit
*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: