version 1.26, 2002/06/02 04:02:09
|
version 1.27, 2002/06/02 04:06:29
|
Line 179 on your LON-CAPA server.
|
Line 179 on your LON-CAPA server.
|
<br />Note: |
<br />Note: |
</p> |
</p> |
<ul> |
<ul> |
<li>you should substitute 'WWWPASSWORD' with the value for 'lonSqlAccess' |
|
present inside <tt>/etc/httpd/conf/loncapa.conf</tt> <i>or in access.conf</i> |
|
</li> |
|
<li>you should substitute 'ROOTPASSWORD' with something very hard to guess |
<li>you should substitute 'ROOTPASSWORD' with something very hard to guess |
(it does not have to be the Linux OS root password) |
(it does not have to be the Linux OS root password) |
</li> |
</li> |
|
<li>The MySQLwww@localhost must always have a password of 'localhostkey' |
|
to work for a standard LON-CAPA system. |
|
</li> |
</ul> |
</ul> |
<p> |
<p> |
The following instructions assume you are logged in as 'root'. |
The following instructions assume you are logged in as 'root'. |
Line 203 mysql -u root mysql (depending on whethe
|
Line 203 mysql -u root mysql (depending on whethe
|
mysql> CREATE DATABASE loncapa; |
mysql> CREATE DATABASE loncapa; |
|
|
mysql> INSERT INTO user (Host, User, Password) |
mysql> INSERT INTO user (Host, User, Password) |
mysql> VALUES ('localhost','www',password('WWWPASSWORD')); |
mysql> VALUES ('localhost','www',password('localhostkey')); |
|
|
mysql> GRANT ALL PRIVILEGES ON *.* TO www@localhost; |
mysql> GRANT ALL PRIVILEGES ON *.* TO www@localhost; |
|
|