Thanks a lot Brian Brother..... At last got my problem solved.... Thanks 4 leading me to the right path.
This web forum helped me to configure Mysql... http://forums.mysql.com/read.php?11,3355,8588#msg-8588 :) On Nov 30, 10:52 pm, brian <[EMAIL PROTECTED]> wrote: > This has nothing to do with CakePHP. You need to sort out your MySQL > installation, > first. The error you're seeing is, again, quite common. Google will show you > the way. > > On Sun, Nov 30, 2008 at 8:57 AM, nithinalex <[EMAIL PROTECTED]> wrote: > > > Now I am getting a new error... > > > Warning: mysql_connect(): Can't connect to local MySQL server through > > socket '/var/run/mysqld/mysqld.sock' (2) in /usr/share/php/cake1.2/ > > libs/model/datasources/dbo/dbo_mysql.php on line 100 > > > I am getting confused....I installed php cli,Cake1.2 Scripts,php5- > > mysql...( Working in Xampp environment in ubuntu ) > > > I am getting the above error when i try to bake model,controllers & > > views...only able to configure database. > > > Can anyone tell how to configure Cake Bake in Ubuntu under Xampp > > Environment. > > > brian wrote: > > > It appears that you do not have the PHP MySQL libs installed. > > > > *apt*-get install php-*mysql* > > > > On Sat, Nov 29, 2008 at 10:21 AM, nithinalex <[EMAIL PROTECTED]> wrote: > > > > > Hello Friends > > > > > When i am using Cake Bake I am getting an error like this... > > > > > Fatal error: Call to undefined function mysql_connect() in /usr/share/ > > > > php/cake1.2/libs/model/datasources/dbo/dbo_mysql.php on line 100 > > > > > I am using XAMPP, Cake 1.2 in Ubuntu. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---