diff --git a/doc/HOWTO.html b/doc/HOWTO.html index 1b0701da86..ddbe43c496 100644 --- a/doc/HOWTO.html +++ b/doc/HOWTO.html @@ -97,15 +97,17 @@ documentation for the details). a tool like phpMyAdmin to update the permission tables. It is recommended that you add a user with no permissions, then explicitly grant the user access to the phpgroupware database. -The following SQL is an example: +The following SQL is an example, using the DB name of phpgroupware user of phpgwuser and password of somethinghardtoguess:
-  insert into users(Host,User,Password) values('localhost','phpgwuser',PASSWORD('somethinghardtoguess');
+  insert into user(Host,User,Password) values('localhost','phpgwuser',PASSWORD('somethinghardtoguess');
   insert into db(Host,DB,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv,Alter_priv)
           values('localhost','phpgroupware','phpgwuser','Y','Y','Y','Y','Y','Y','Y')
   
 
you must then reload the grant tables with mysqladmin reload or refresh privledges from the mysql utility. +

Some people find it even easier to use MySQL's grant command instead. Please consult the +MySQL manuall for details on correct syntax.

PostgereSQL install

This is from gnrfan but has yet to be updated for the recent version of phpGroupWare, although diff --git a/doc/HOWTO.sgml b/doc/HOWTO.sgml index 100018773a..8046256d40 100644 --- a/doc/HOWTO.sgml +++ b/doc/HOWTO.sgml @@ -110,13 +110,16 @@ have the most recent development copy of phpGroupWare in no time. a tool like phpMyAdmin to update the permission tables. It is recommended that you add a user with no permissions, then explicitly grant the user access to the phpgroupware database. - The following SQL is an example: + The following SQL is an example, using the DB name of phpgroupware user of phpgwuser and password of somethinghardtoguess: - insert into users(Host,User,Password) values('localhost','phpgwuser',PASSWORD('somethinghardtoguess'); + insert into user(Host,User,Password) values('localhost','phpgwuser',PASSWORD('somethinghardtoguess'); insert into db(Host,DB,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv,Alter_priv) values('localhost','phpgroupware','phpgwuser','Y','Y','Y','Y','Y','Y','Y') you must then reload the grant tables with mysqladmin reload or refresh privledges from the mysql utility. + + Some people find it even easier to use MySQL's grant command instead. Please consult the + MySQL manuall for details on correct syntax.

PostgereSQL install

diff --git a/doc/HOWTO.txt b/doc/HOWTO.txt index f33917ed88..44ad62a521 100644 --- a/doc/HOWTO.txt +++ b/doc/HOWTO.txt @@ -171,9 +171,10 @@ like phpMyAdmin to update the permission tables. It is recommended that you add a user with no permissions, then explicitly grant the user access to the phpgroupware database. The following SQL is an - example: + example, using the DB name of phpgroupware user of phpgwuser and + password of somethinghardtoguess: - insert into users(Host,User,Password) values('localhost','phpgwuser',PASSWORD('somethinghardtoguess'); + insert into user(Host,User,Password) values('localhost','phpgwuser',PASSWORD('somethinghardtoguess'); insert into db(Host,DB,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv,Alter_priv) values('localhost','phpgroupware','phpgwuser','Y','Y','Y','Y','Y','Y','Y') @@ -182,6 +183,9 @@ you must then reload the grant tables with mysqladmin reload or refresh privledges from the mysql utility. + Some people find it even easier to use MySQL's grant command instead. + Please consult the MySQL manuall for details on correct syntax. + 22..55..22.. PPoossttggeerreeSSQQLL iinnssttaallll @@ -195,7 +199,6 @@ have to use initdb to create the dataDIR. Please look in the documentation of posgreSQL or the manual page for initdb for details. - If you have not encountered any error than you are ready to roll. Now create a database which will be used by the phpGroupWare. To do that type at the console: $createdb phpgroupware assumming that you would @@ -261,7 +264,6 @@ directory for any stale uploads and delete them. But, once again, it becomes a performance issue. - 33.. TTeessttiinngg tthhee iinnssttaallll If your config is setup properly you can now login. Point your @@ -392,8 +394,6 @@ mailbox. - - 55..33.. WWhheenn II lloogg iinn II sseeee tthhee ddiirreeccttoorryy lliissttiinngg iinnsstteeaadd ooff aa wweebb ppaaggee If you are using Apache, this often means you need to add .php to the