-- $Horde: horde/scripts/sql/create.mysql.sql,v 1.4.6.10 2007/09/27 22:36:49 jan Exp $ -- -- If you are installing Horde for the first time, you can simply -- direct this file to mysql as STDIN: -- -- $ mysql --user=root --password= < create.mysql.sql -- -- If you are upgrading from a previous version, you will need to comment -- out the the user creation steps below, as well as the schemas for any -- tables that already exist. -- -- If you choose to grant permissions manually, note that with MySQL, PEAR DB -- emulates sequences by automatically creating extra tables ending in _seq, -- so the MySQL "horde" user must have CREATE privilege on the "horde" -- database. -- -- If you are upgrading from Horde 1.x, the Horde tables you have from -- that version are no longer used; you may wish to either delete those -- tables or simply recreate the database anew. USE mysql; REPLACE INTO user (host, user, password) VALUES ( 'localhost', 'hordeuser', -- IMPORTANT: Change this password! PASSWORD('what-the-fuck-is-exchange?') ); REPLACE INTO db (host, db, user, select_priv, insert_priv, update_priv, delete_priv, create_priv, drop_priv, index_priv) VALUES ( 'localhost', 'horde', 'hordeuser', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y' ); ...