Hi axis-shift what version of php do you have on your server? na try mo na 
mysqli driver?

 

From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Louie 
Miranda
Sent: Monday, November 17, 2008 11:57 AM
To: cake-php@googlegroups.com
Subject: CakePHP bake console and mysql-client 5.0, error - Client does not 
support authentication protocol requested by server

 

Dear All,

I am running cakephp 1.2 and had used the bake several times before. However, I 
relocated to a new server and then bake does not work on the new console.

It says..

Client does not support authentication protocol requested by server


Any ideas? Below is the full terminal transcript. 

 

webadm$ mysql -V
mysql  Ver 14.12 Distrib 5.0.21, for apple-darwin7.9.0 (powerpc) using readline 
5.0

webadm$ ./cake bake
Hello webadm,

Welcome to CakePHP v1.2.0.5875 pre-beta Console
---------------------------------------------------------------
App : app
Path: /Volumes/Web/Www/adminpage/app
---------------------------------------------------------------
Interactive Bake Shell
---------------------------------------------------------------
[D]atabase Configuration
[M]odel
[V]iew
[C]ontroller
[P]roject
[Q]uit
What would you like to Bake? (D/M/V/C/P/Q)
> M
---------------------------------------------------------------
Model Bake:
---------------------------------------------------------------
Database Connection:
[default] >

Warning: mysql_connect(): Client does not support authentication protocol 
requested by server; consider upgrading MySQL client in 
/Volumes/Web/Www/adminpage/cake/libs/model/datasources/dbo/dbo_mysql.php on 
line 101

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link 
resource in 
/Volumes/Web/Www/adminpage/cake/libs/model/datasources/dbo/dbo_mysql.php on 
line 106

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in 
/Volumes/Web/Www/adminpage/cake/libs/model/datasources/dbo/dbo_mysql.php on 
line 134
Possible Models based on your current database:
Enter a number from the list above, or type in the name of another model.
> ^C


Any ideas? 

 --
Louie Miranda ([EMAIL PROTECTED])
http://blog.louiemiranda.net

Security Is A Series Of Well-Defined Steps
chmod -R 0 / ; and smile :)

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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