version 1.20, 2002/05/10 16:26:32
|
version 1.21, 2002/05/10 16:30:03
|
Line 206 shell> mysql -u root mysql
|
Line 206 shell> mysql -u root mysql
|
mysql> SET PASSWORD FOR root@localhost=PASSWORD('ROOTPASSWORD'); |
mysql> SET PASSWORD FOR root@localhost=PASSWORD('ROOTPASSWORD'); |
</pre> |
</pre> |
</td></tr></table> |
</td></tr></table> |
<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: only allow access from localhost</p> |
<p>SECURITY: only allow access from localhost</p> |
<table bgcolor="#aaaaaa" border="1"><tr><td> |
<table bgcolor="#aaaaaa" border="1"><tr><td> |
<pre> |
<pre> |