MySQL Database Privileges

MySQL Database Privileges

Monday 16 October 2006 9:57:18 pm - 1 reply

Author Message

Kristof Coomans

Monday 16 October 2006 11:49:08 pm

Hello Matt

I always assign these table-specific privileges to the MySQL user used by eZ publish (I'm using the MySQL Administrator application):

CREATE
DROP
ALTER
DELETE
INDEX
INSERT
SELECT
UPDATE
CREATE TEMPORARY TABLES
LOCK TABLES

I think you can remove the following privileges after running the eZ publish setup wizard or after a manual setup:

CREATE
DROP
ALTER
INDEX

You will have to re-enable them before running any eZ publish upgrade scripts (mysql or PHP CLI), unless you run them with a more privileged MySQL user like root.

More information about the privileges on http://dev.mysql.com/doc/en/GRANT.html

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.