tags:

views:

217

answers:

0

Hi guys!

I'm having a little problem here. I'm starting with CakePHP and i've created the example database from the book CakePHP from Novice to Professional. So, i've my mysql database created and everything seems to be right. I've many databases and can access all without any problem.

But today, after Baking some controllers, something weird is happening. When i'm trying to access to the database (blog_cake) the connection seems to terminate. But with the other databases there's no problem! If i want to query the Cake Database, this error is launched

ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 1 Current database: blog_cake

ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) ERROR: Can't connect to the server

But, in the same connection, if i switch to other database (USE sakila, for example) i can query as usualy with out any problem.

What's going on????

Thanks everyone!