Hi, i fired up the cake console today and this is an error it was giving 
me...I cannot do anything.

Any ideas?

PHP Warning:  mysql_connect(): [2002] A connection attempt fail
nnected party did not  (trying to connect via tcp://localhost:3
ake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 552

Warning: mysql_connect(): [2002] A connection attempt failed because the 
connect
ed party did not  (trying to connect via tcp://localhost:3306) in 
C:\wamp\cake\c
ake\libs\model\datasources\dbo\dbo_mysql.php on line 552
PHP Warning:  mysql_connect(): A connection attempt failed because the 
connected
 party did not properly respond after a period of time, or established 
connectio
n failed because connected host has failed to respond.
 in C:\wamp\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 552

Warning: mysql_connect(): A connection attempt failed because the connected 
part
y did not properly respond after a period of time, or established connection 
fai
led because connected host has failed to respond.
 in C:\wamp\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 552
PHP Warning:  mysql_select_db() expects parameter 2 to be resource, boolean 
give
n in C:\wamp\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 558

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given 
in
C:\wamp\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 558
PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, 
boolea
n given in C:\wamp\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on 
line 56
6

Warning: mysql_get_server_info() expects parameter 1 to be resource, boolean 
giv
en in C:\wamp\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 566
PHP Warning:  mysql_query() expects parameter 2 to be resource, boolean 
given in
 C:\wamp\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 600

Warning: mysql_query() expects parameter 2 to be resource, boolean given in 
C:\w
amp\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 600

I'm assuming the other errors are due to the fact that a connection was not 
made.

The actual app is connected to the db as the application is functioning 
properly.  I wonder why the console is behaving this way?  Some permissions 
perhaps???  I did just copy the site to a new folder????

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to