forked from extern/egroupware
Fix of long-standing bug (I created) of using 'users' instead of 'user'
in the mysql sample commands.
This commit is contained in:
parent
5ce0456d47
commit
28d1259e61
@ -97,15 +97,17 @@ documentation for the details).
|
|||||||
a tool like phpMyAdmin to update the permission tables.
|
a tool like phpMyAdmin to update the permission tables.
|
||||||
It is recommended that you add a user with no permissions, then
|
It is recommended that you add a user with no permissions, then
|
||||||
explicitly grant the user access to the phpgroupware database.
|
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 <CODE>phpgroupware</CODE> user of <CODE>phpgwuser</CODE> and password of <CODE>somethinghardtoguess</CODE>:
|
||||||
<PRE>
|
<PRE>
|
||||||
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)
|
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')
|
values('localhost','phpgroupware','phpgwuser','Y','Y','Y','Y','Y','Y','Y')
|
||||||
|
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
you must then reload the grant tables with <CODE>mysqladmin reload</CODE> or <CODE>refresh privledges</CODE> from the mysql utility.
|
you must then reload the grant tables with <CODE>mysqladmin reload</CODE> or <CODE>refresh privledges</CODE> from the mysql utility.
|
||||||
|
<P>Some people find it even easier to use MySQL's grant command instead. Please consult the
|
||||||
|
MySQL manuall for details on correct syntax.
|
||||||
<H3>PostgereSQL install </H3>
|
<H3>PostgereSQL install </H3>
|
||||||
|
|
||||||
<P>This is from <CODE>gnrfan</CODE> but has yet to be updated for the recent version of phpGroupWare, although
|
<P>This is from <CODE>gnrfan</CODE> but has yet to be updated for the recent version of phpGroupWare, although
|
||||||
|
@ -110,13 +110,16 @@ have the most recent development copy of phpGroupWare in no time.
|
|||||||
a tool like phpMyAdmin to update the permission tables.
|
a tool like phpMyAdmin to update the permission tables.
|
||||||
It is recommended that you add a user with no permissions, then
|
It is recommended that you add a user with no permissions, then
|
||||||
explicitly grant the user access to the phpgroupware database.
|
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 <tt>phpgroupware</tt> user of <tt>phpgwuser</tt> and password of <tt>somethinghardtoguess</tt>:
|
||||||
<verb>
|
<verb>
|
||||||
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)
|
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')
|
values('localhost','phpgroupware','phpgwuser','Y','Y','Y','Y','Y','Y','Y')
|
||||||
</verb>
|
</verb>
|
||||||
you must then reload the grant tables with <tt>mysqladmin reload</tt> or <tt>refresh privledges</tt> from the mysql utility.
|
you must then reload the grant tables with <tt>mysqladmin reload</tt> or <tt>refresh privledges</tt> 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.
|
||||||
</p>
|
</p>
|
||||||
<sect2>PostgereSQL install
|
<sect2>PostgereSQL install
|
||||||
<p>
|
<p>
|
||||||
|
@ -171,9 +171,10 @@
|
|||||||
like phpMyAdmin to update the permission tables. It is recommended
|
like phpMyAdmin to update the permission tables. It is recommended
|
||||||
that you add a user with no permissions, then explicitly grant the
|
that you add a user with no permissions, then explicitly grant the
|
||||||
user access to the phpgroupware database. The following SQL is an
|
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)
|
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')
|
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
|
you must then reload the grant tables with mysqladmin reload or
|
||||||
refresh privledges from the mysql utility.
|
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..
|
22..55..22..
|
||||||
|
|
||||||
PPoossttggeerreeSSQQLL iinnssttaallll
|
PPoossttggeerreeSSQQLL iinnssttaallll
|
||||||
@ -195,7 +199,6 @@
|
|||||||
have to use initdb to create the dataDIR. Please look in the
|
have to use initdb to create the dataDIR. Please look in the
|
||||||
documentation of posgreSQL or the manual page for initdb for details.
|
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
|
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
|
create a database which will be used by the phpGroupWare. To do that
|
||||||
type at the console: $createdb phpgroupware assumming that you would
|
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
|
directory for any stale uploads and delete them. But, once again, it
|
||||||
becomes a performance issue.
|
becomes a performance issue.
|
||||||
|
|
||||||
|
|
||||||
33.. TTeessttiinngg tthhee iinnssttaallll
|
33.. TTeessttiinngg tthhee iinnssttaallll
|
||||||
|
|
||||||
If your config is setup properly you can now login. Point your
|
If your config is setup properly you can now login. Point your
|
||||||
@ -392,8 +394,6 @@
|
|||||||
mailbox.
|
mailbox.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
55..33.. WWhheenn II lloogg iinn II sseeee tthhee ddiirreeccttoorryy lliissttiinngg iinnsstteeaadd ooff aa wweebb ppaaggee
|
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
|
If you are using Apache, this often means you need to add .php to the
|
||||||
|
Loading…
Reference in New Issue
Block a user