Forums / General / Problem deleting an object.

Problem deleting an object.

Author Message

César Camelo

Friday 03 February 2006 3:01:16 pm

Hi
I'm puting information on my site, and I want to delete one object and I`m geting a fatal error.

This is the output of the error:
Fatal error: A database transaction in eZ publish failed.

And this is the log produced by the error:

Query error: Access denied for user: 'dbadmin@localhost' to database 'baru'. Query: CREATE TEMPORARY TABLE eznode_count ( count int )

I already check the user privileges for 'dbadmin@localhost' and they seem to be fine.

Any Ideas?

P.D. Sorry for my English

Thomas Nunninger

Friday 03 February 2006 3:45:42 pm

Hi,

are you shure, your user has the create_tmp_table_priv? It's a temporary table what should be created not a normal one.

Have a nice day

Thomas

César Camelo

Monday 06 February 2006 7:22:32 am

Hi Thomas

Yeah. I check all privileges include the CREATE TEMPORARY TABLES, they are all Granted.

What else can I do?

Thank you for your help

Thomas Nunninger

Monday 06 February 2006 8:03:57 am

Hi,

sorry, I don't know <i>what</i> the error is. But the message says:

Access denied for user: 'dbadmin@localhost' to database 'baru'. Query: CREATE TEMPORARY TABLE eznode_count ( count int )

So it seems to be the right of your dbadmin users. So it should be something with the database and not with eZ publish.

Log in as dbadmin on your localhost mysql server. And then try to create this table with the shown statement. (Don't forget to put a semicolon at the of the SQL statement.) If you don't know how to do this on the text console, just write again.

Have a nice day

Thomas

Georg Franz

Monday 06 February 2006 8:16:39 am

Hi Cesar,

have you flushed (reloaded) the user privilegs?

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

César Camelo

Monday 06 February 2006 1:23:55 pm

Hi,

Problem solved.

My user was wrong but I just don't know why, so I just create other user and everything is working fine.

Thank's you all for your help!!!