cvs: pearweb /sql createdb.sql

From: Date: Thu, 27 Oct 2005 19:51:55 +0000
Subject: cvs: pearweb /sql createdb.sql
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-35908@lists.php.net to get a copy of this message
mj Thu Oct 27 15:51:55 2005 EDT Modified files: /pearweb/sql createdb.sql Log: * Drop the database if it exists. * Don't set priviliges for the pear user right here. Instead people should use the GRANT syntax for this. http://cvs.php.net/diff.php/pearweb/sql/createdb.sql?r1=1.6&r2=1.7&ty=u Index: pearweb/sql/createdb.sql diff -u pearweb/sql/createdb.sql:1.6 pearweb/sql/createdb.sql:1.7 --- pearweb/sql/createdb.sql:1.6 Sat Jul 26 14:49:01 2003 +++ pearweb/sql/createdb.sql Thu Oct 27 15:51:48 2005 @@ -1,8 +1,2 @@ +DROP DATABASE IF EXISTS pear; CREATE DATABASE pear; - -INSERT INTO user (host,user,password,select_priv,insert_priv,update_priv,delete_priv,create_priv,drop_priv,reload_priv,shutdown_priv,process_priv,file_priv,grant_priv,references_priv,index_priv,alter_priv) VALUES('pb1','pear',password('pear'),'N','N','N','N','N','N','N','N','N','N','N','N','N','N'); -INSERT INTO user (host,user,password,select_priv,insert_priv,update_priv,delete_priv,create_priv,drop_priv,reload_priv,shutdown_priv,process_priv,file_priv,grant_priv,references_priv,index_priv,alter_priv) VALUES('localhost','pear',password('pear'),'N','N','N','N','N','N','N','N','N','N','N','N','N','N'); -INSERT INTO db (host,db,user,select_priv,insert_priv,update_priv,delete_priv,create_priv,drop_priv,grant_priv,references_priv,index_priv,alter_priv) VALUES('%','pear','pear','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y'); - -FLUSH PRIVILEGES; -

« previous php.pear.cvs (#35908) next »