version 1.20, 2002/05/10 16:26:32
|
version 1.22, 2002/05/10 19:02:45
|
Line 183 present inside <tt>/etc/httpd/conf/lonca
|
Line 183 present inside <tt>/etc/httpd/conf/lonca
|
<pre> |
<pre> |
mysql -u root -p mysql |
mysql -u root -p mysql |
OR |
OR |
mysql -u root (depending on whether you have set a root password) |
mysql -u root mysql (depending on whether you have set a root password) |
</pre> |
</pre> |
</td></tr></table> |
</td></tr></table> |
<p>Creating the mysql 'www' user (after entering mysql shell)</p> |
<p>Creating the mysql 'www' user (after entering mysql shell)</p> |
Line 200 mysql> FLUSH PRIVILEGES;
|
Line 200 mysql> FLUSH PRIVILEGES;
|
</pre> |
</pre> |
</td></tr></table> |
</td></tr></table> |
<p>SECURITY: set a password for the mysql 'root' user</p> |
<p>SECURITY: set a password for the mysql 'root' user</p> |
<table bgcolor="#aaaaaa" border="1"><tr><td> |
|
<pre> |
|
shell> mysql -u root mysql |
|
mysql> SET PASSWORD FOR root@localhost=PASSWORD('ROOTPASSWORD'); |
|
</pre> |
|
</td></tr></table> |
|
<p>SECURITY: set a password for the mysql 'root' user</p> |
|
<table bgcolor="#aaaaaa" border="1"><tr><td> |
<table bgcolor="#aaaaaa" border="1"><tr><td> |
<pre> |
<pre> |
shell> mysql -u root mysql |
shell> mysql -u root mysql |