Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2015-02-23 Thread vigen abrahamyan
Try to delete file php.ini in c:\windows (or something like that), after that your cake will load the php.ini from your local servers php folder. Type php --ini in command line to ensure that loaded php.ini is from your local servers php folder. Works for me... пятница, 5 декабря 2014 г.,

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2014-12-05 Thread NickABusey
The fix is to change localhost to 127.0.0.1. On Sunday, April 6, 2014 1:20:58 PM UTC-6, Akitah Blessed wrote: I am getting this same error with a fresh install of mysql. My database settings are correct but for some reason, when i try and bake a model, CakePHP brings me back Database

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2014-04-07 Thread Akitah Blessed
I am getting this same error with a fresh install of mysql. My database settings are correct but for some reason, when i try and bake a model, CakePHP brings me back Database connection Mysql is missing, or could not be created. I've connected the database using other methods but for some

Cake is NOT able to connect to the database ERROR

2013-09-11 Thread Ahmed Said
It's the first time I deal with cakephp and faces this error Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created. Selected driver is not enabled and the database connection data is very OK so please let me know where is the error here

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-09-04 Thread Arvind kumar
pls check user name ,database name and passoword correctly... On Friday, 17 May 2013 00:28:37 UTC+5:30, Gabriel Saulescu wrote: I am trying to install cakephp on my laptop. I received this error. My SO is a WindowsVista in 32 b. I changed this: extension=php_mssql.dll. I need your help,

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-08-19 Thread Ismail Buhary
hi i have the same problem On Thursday, May 16, 2013 11:58:37 AM UTC-7, Gabriel Saulescu wrote: I am trying to install cakephp on my laptop. I received this error. My SO is a WindowsVista in 32 b. I changed this: extension=php_mssql.dll. I need your help, please. What I have to do?

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-06-19 Thread deveshchauhan27
Hello, Gabriel I have same problem. Can you tell me how you fixed it. -- 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

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-05-19 Thread Gabriel Saulescu
I fixed it. Chenan Patel helped me. Thank you, Chenan :) On Thursday, May 16, 2013 9:58:37 PM UTC+3, Gabriel Saulescu wrote: I am trying to install cakephp on my laptop. I received this error. My SO is a WindowsVista in 32 b. I changed this: extension=php_mssql.dll. I need your help,

Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-05-17 Thread gabi . saulescu
I am trying to install cakephp on my laptop. I received this error. My SO is a WindowsVista in 32 b. I changed this: extension=php_mssql.dll. I need your help, please. What I have to do? Thank you in advance. Gabriel -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-05-17 Thread Victor Daniel Ojeda
You must create database and configure the file app/config/database.php class DATABASE_CONFIG { public $default = array( 'datasource' = 'Database/Mysql', 'persistent' = false, 'host' = 'localhost', 'login' = 'user', 'password' = 'password', 'database' = 'database_name', 'prefix' = '',

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-05-17 Thread raj kumar Pustela
WHEN U BAKE THE PROJECT U HAVE TO GIVEN DATABASE NAME CORRECTY.THEYN IT'S AUTOMATICALLY CONNECTED TO THE DATABASE. IF U HAVE PREFIX IN DATABASE THEN U CAN GIVE U LIKE ZP_ PREFIXES ALSO. ?php class DATABASE_CONFIG { public $default = array( 'datasource' = 'Database/Mysql', 'persistent' = false,

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-05-17 Thread El Tello
Test is a schema not a database. Check your mysql server is running and if the config is correct and the schema is created. El 17/05/2013 12:19, raj kumar Pustela pustela...@gmail.com escribió: WHEN U BAKE THE PROJECT U HAVE TO GIVEN DATABASE NAME CORRECTY.THEYN IT'S AUTOMATICALLY CONNECTED TO

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-05-17 Thread Gabriel Saulescu
On Thursday, May 16, 2013 9:58:37 PM UTC+3, Gabriel Saulescu wrote: I am trying to install cakephp on my laptop. I received this error. My SO is a WindowsVista in 32 b. I changed this: extension=php_mssql.dll. I need your help, please. What I have to do? Thank you in advance. Gabriel

Re: Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-05-17 Thread Gabriel Saulescu
Hello again, I installed XAMP for PHP. APACHE and MYSQL are working ok. I installed CAKEPHP. And I changed files required by Cake, php.ini, database.php. core.php I received the following message: Your version of PHP is 5.2.8 or higher. Your tmp directory is writable. The FileEngine is being

Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created.

2013-05-17 Thread Gabriel Saulescu
Hello again, I installed XAMP for PHP. APACHE and MYSQL are working ok. I installed CAKEPHP. And I changed files required by Cake, php.ini, database.php. core.php I received the following message: Your version of PHP is 5.2.8 or higher. Your tmp directory is writable. The FileEngine is being

Cake is NOT able to connect to the database. Non standard port. Tried unix_socket, didnt work.

2013-04-18 Thread Tom Berchenbriter
Ive added unix_socket to my database.php 'unix_socket' = '8973', but Im still getting Cake is NOT able to connect to the database. Database connection Mysql is missing, or could not be created. SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '8973' (2) any other

Re: Cake is NOT able to connect to the database. Non standard port. Tried unix_socket, didnt work.

2013-04-18 Thread Andras Kende
try: public $default = array( 'datasource' = 'Database/Mysql', 'persistent' = false, 'host' = 'localhost', 'port' - '8973' 'login' = 'user', 'password' = 'password', 'database' =

Re: Cake is NOT able to connect to the database.

2013-04-08 Thread Malek Trabelsi
Hi, What you did exactly to enable pdo mysql in php.ini file? I am running the same issue and don't know how to proceed. Thanx for sharing. On Monday, January 2, 2012 7:57:12 PM UTC+1, MorFer wrote: You are absolutely right. I just enabled pdo_mysql on my php.ini and it worked! Ronghua:

Re: Cake is NOT able to connect to the database. on FEDORA 16

2012-03-10 Thread Daniel Carrillo Broeder
Yes but with XAMPP i had to put 127.0.0.1 El martes 6 de marzo de 2012 20:48:18 UTC, cricket escribió: Create a simple PHP (not Cake) script to connect to your DB and see if that works. On Tue, Mar 6, 2012 at 3:28 PM, Daniel Carrillo Broeder dcbroe...@gmail.com wrote: Hi, i'm having lots

Re: Cake is NOT able to connect to the database. on FEDORA 16

2012-03-10 Thread Daniel Carrillo Broeder
It was started, today (third day trying...) it worked but i don't know why, I believe it worked because I created a table on my database ( !!! ) this is what i did (if anybody needs this kind of help ) : #Installing XAMPP (After downloaded) tar xvfz

Re: Cake is NOT able to connect to the database. on FEDORA 16

2012-03-09 Thread Daniel Carrillo Broeder
It works correctly Don't know what could cause this problem ... El martes 6 de marzo de 2012 20:48:18 UTC, cricket escribió: Create a simple PHP (not Cake) script to connect to your DB and see if that works. On Tue, Mar 6, 2012 at 3:28 PM, Daniel Carrillo Broeder dcbroe...@gmail.com

Re: Cake is NOT able to connect to the database. on FEDORA 16

2012-03-09 Thread Bruno Oliveira
do you tried? public $coffeecake = array( 'datasource' = 'Database/Mysql', 'persistent' = false, 'host' = 'localhost', 'login' = 'root', 'password' = '', 'database' = 'cake', ); change ip 127.0.0.1 for localhost? can be dns in the pc! On Fri, Mar 9, 2012 at 4:37 PM,

Re: Cake is NOT able to connect to the database. on FEDORA 16

2012-03-09 Thread andrewperk
I run Linux Mint and I also have xamp installed and to get things working properly with cake I've had to install a couple of other packages. sudo apt-get install php5-cli sudo apt-get install php5-mysql On Mar 6, 12:28 pm, Daniel Carrillo Broeder dcbroe...@gmail.com wrote: Hi, i'm having lots

Re: Cake is NOT able to connect to the database. on FEDORA 16

2012-03-09 Thread andrewperk
Also, by any chance maybe you didn't start xamp? From the command line: sudo /opt/lampp/lampp start To stop it: sudo /opt/lampp/lampp stop Of course if you installed xamp somewhere else you'll need to navigate to the appropriate location before starting it. Mine is under /opt/lampp Andrew

Cake is NOT able to connect to the database. on FEDORA 16

2012-03-06 Thread Daniel Carrillo Broeder
Hi, i'm having lots of problems, i don't know what to do This is what i did : 1.- Installed XAMP 2.- Made a new database (called cake) with phpMyAdmin. 2.- Downloaded cakePHP 2.0 3.- Bake ! 4.- Set permissions to tmp directory When I requested localhost on chrome everything went ok but

Re: Cake is NOT able to connect to the database. on FEDORA 16

2012-03-06 Thread lowpass
Create a simple PHP (not Cake) script to connect to your DB and see if that works. On Tue, Mar 6, 2012 at 3:28 PM, Daniel Carrillo Broeder dcbroe...@gmail.com wrote: Hi, i'm having lots of problems, i don't know what to do This is what i did : 1.- Installed XAMP 2.- Made a new database

Re: Cake is NOT able to connect to the database.

2012-01-02 Thread Renato de Freitas Freire
You are absolutely right. I just enabled pdo_mysql on my php.ini and it worked! Ronghua: try this hint. Worked for me. -- Renato Freire 2012/1/1 清水��己 hiromi2...@gmail.com My last guess is pdo mysql is not enabled. 2012/1/1 Renato de Freitas Freire renat...@gmail.com: I had the same

Cake is NOT able to connect to the database.

2011-12-31 Thread Ronghua
Hi, today is first day I'm using cake. I have setup CakePHP 2.0.4. In \app\Config\database.php, the configuration is as below ?php class DATABASE_CONFIG { public $default = array( 'datasource' = 'Database/Mysql', 'persistent' = false, 'host' =

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread Sam Sherlock
because this is blank 'database' = '', what is the name of the mysql database your connecting to? mysql -u testuser -p123456 -h localhost mysqlCREATE DATABASE cake_testing; mysqlexit; then use 'database' = 'cake_testing', -- Our newest site for the community: CakePHP Video Tutorials

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread Timothy O'Reilly
I'm sure you have tried it, but have you tried Login Root and Password Root? Regards, Tim On Sat, Dec 31, 2011 at 2:59 AM, Ronghua ronghuaz...@gmail.com wrote: Hi, today is first day I'm using cake. I have setup CakePHP 2.0.4. In \app\Config\database.php, the configuration is as below ?php

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread Timothy O'Reilly
That is a much better suggestion :) On Sat, Dec 31, 2011 at 9:49 AM, Sam Sherlock sam.sherl...@gmail.comwrote: because this is blank 'database' = '', what is the name of the mysql database your connecting to? mysql -u testuser -p123456 -h localhost mysqlCREATE DATABASE cake_testing;

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread Ronghua
I tried this as well, created database as you mentioned below with testuser, change the configure file as below. But the result is same as below, still can't connect to DB. ?php class DATABASE_CONFIG { public $default = array( 'datasource' = 'Database/Mysql',

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread Ronghua
I also tried my root login configuration, but it doesn't work as well. On 1月1日, 上午1时51分, Timothy O'Reilly timothy.john.orei...@gmail.com wrote: I'm sure you have tried it, but have you tried Login Root and Password Root? Regards, Tim On Sat, Dec 31, 2011 at 2:59 AM, Ronghua

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread 清水紘己
Did you have done GRANT it? 2012/1/1 Ronghua ronghuaz...@gmail.com: I also tried my root login configuration, but it doesn't work as well. On 1月1日, 上午1时51分, Timothy O'Reilly timothy.john.orei...@gmail.com wrote: I'm sure you have tried it, but have you tried Login Root and Password Root?

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread Ronghua
Yes, I grant all privileges to the user. Actually, if I write a php file to connect to mysql directly, I can query the result from table. ?php $host='localhost'; $user_name='testuser'; $password='123456'; //这里是你设置的密码 $conn=mysql_connect($host,$user_name,$password); if (!$conn) { die('connect

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread Renato de Freitas Freire
I had the same problem when start using cake 2.0.4 on my work, but I tried it on my pc and it work fine. It might be something with your server configuration. I will doble check it on monday on my work. Any news I tell you. But you can try it on other server, or try to upgrade your mysql, or

Re: Cake is NOT able to connect to the database.

2011-12-31 Thread 清水紘己
My last guess is pdo mysql is not enabled. 2012/1/1 Renato de Freitas Freire renat...@gmail.com: I had the same problem when start using cake 2.0.4 on my work, but I tried it on my pc and it work fine. It might be something with your server configuration. I will doble check it on monday on

Cake PHP 2.0.4 - Cake is NOT able to connect to the database.

2011-12-06 Thread Brent
Hello, I unpacked a fresh CakePHP 2.0.4 archive on a unix server running apache mysql. The default index page says that everything is working except that it is not able to connect to the database. I can connect to the database with the command line mysql client using the same credentials that

Re: Cake PHP 2.0.4 - Cake is NOT able to connect to the database.

2011-12-06 Thread Brent
I found the problem by running this script with the command line php: ?php $dsn = 'mysql:host=localhost;dbname=test_db'; $username = 'myuser'; $password = 'mypasswd'; $options = array( PDO::MYSQL_ATTR_INIT_COMMAND = 'SET NAMES utf8', ); $dbh = new PDO($dsn, $username,

New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Jeremy Williams
Your tmp directory is writable. The FileEngine is being used for caching. To change the config edit APP/config/core.php Your database configuration file is present. Cake is NOT able to connect to the database. I am going through the blog tut on: http://book.cakephp.org/view/1528/Blog and for

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Teddy Zeenny
1. Make sure you are working in /app/config/database.php and NOT in /app/config/database.php.default 2. Make sure mysql is on (try to access it using phpmyadmin for example) 3. Make sure you already created a database called 'cakeblog_dtd' 4. Double check your username and password. Are

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Jeremy Williams
everything you said was previously done, other than #4. does the username have to be the username and pass for the computer account i am on? how exactly do i define a username and password cuz i just made up a random one for testing. -- Our newest site for the community: CakePHP Video Tutorials

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Teddy Zeenny
It's not the computer account's credentials. It is mysql's username and password. If you haven't set any, I would try this: var $default = array( 'driver' = 'mysql', 'persistent' = 'false', 'host' = 'localhost', 'port' = '', 'login' = 'root', 'password'

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Jeremy Burns | Class Outfit
It'll be the username and password for the database, not the computer. By default, the username is probably 'root' and a blank password. If it's not, yo'll need to find out what credentials are need to access that database. Jeremy Burns Class Outfit http://www.classoutfit.com On 6 Sep 2011,

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Jeremy Williams
changed the username to 'root' and it connected! thanks guys! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Ma'moon
Just a quick small hint, never use root account for production, instead create another database user and grant for it the desired permissions. and by the way, if root worked for you then clearly you have a problem with the previous user's permissions or existence. On Tue, Sep 6, 2011 at 1:24 PM,

Cake is NOT able to connect to the database.

2011-08-11 Thread deepak
plz help me -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to

Re: Cake is NOT able to connect to the database.

2011-08-11 Thread Jens Dittrich
here, some help for you... ... What about asking a real question that people can answer to? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related

Re: Cake is NOT able to connect to the database.

2011-08-11 Thread Stephen Latham
Have you setup you database configuration file app/config/database.php Password correct etc I agree with the previous comment you need to give more information than that it won't connect. On 11 Aug 2011, at 16:02, deepak talk2deep...@gmail.com wrote: plz help me -- Our newest site

Cake is NOT able to connect to the database.

2010-02-01 Thread karthik mca
i installed the cakephp in localhost, it is connected succesfully. Similarly i have gone to install the cakephp in phpwebmagic server. but i have the problem called Cake is NOT able to connect to the database. eccept that everything is running smoothly... Let me know the solution from experts.

Re: Cake is NOT able to connect to the database.

2010-02-01 Thread Marcelo Andrade
On Mon, Feb 1, 2010 at 9:26 AM, karthik mca karthik...@gmail.com wrote: i installed the cakephp in localhost, it is connected succesfully. Similarly i have gone to install the cakephp in phpwebmagic server. but i have the problem called Cake is NOT able to connect to the database. eccept that

Re: Cake is NOT able to connect to the database.

2010-02-01 Thread karthik mca
Hi Andrade I have installed cakephp in server, Because of databasename(my DB name: education) i not able to connect. I found the solution that to add the prefix(phpwebm_education). Now its installed Thanks for reply... On Tue, Feb 2, 2010 at 7:19 AM, Marcelo Andrade mfandr...@gmail.com

Cake is NOT able to connect to the database.

2009-04-21 Thread manohar
Hello guys, I'm trying to connect to a MS SQL Server 2000 using cake but I'm not able to, i get this messages: Cake is NOT able to connect to the database. This is my database.php file: var $default = array( 'driver' = 'mssql', 'persistent' = false,

Re: Cake is NOT able to connect to the database.

2009-04-21 Thread Marcelo Andrade
On Tue, Apr 21, 2009 at 4:39 AM, manohar manohar...@gmail.com wrote: Hello guys, I'm trying to connect to a MS SQL Server 2000 using cake but I'm not able  to, i get this messages: Cake is NOT able to connect to the database. This is my database.php file: var $default = array(