Diff for /doc/Attic/howtoaddusertolonsql between versions 1.1 and 1.2

version 1.1, 2000/05/23 16:33:59 version 1.2, 2000/06/28 15:45:31
Line 1 Line 1
 start the mysql daemon as /usr/local/bin/safe_mysqld &  start the mysql daemon as /usr/local/bin/safe_mysqld &
 login as root: mysql -u root -p  Login as root: mysql -u root -p mysql
 enter the password as newmysql  enter the password as newmysql
 add the user www: grant all priveleges on *.* to www@localhost identified by 'newmysql' with grant option;  add the user www: grant all priveleges on *.* to www@localhost identified by 'newmysql' with grant option;
   
   INSERT INTO user (Host, User, Password)
   VALUES ('localhost','www',password('newmysql'));
   
   GRANT ALL PRIVILEGES ON *.* TO www@localhost;
   
   FLUSH PRIVILEGES;
   
 Here the user www has the right to grant privileges to other users.  Here the user www has the right to grant privileges to other users.
 This can be changed if required with a simple update command on the grant tables  This can be changed if required with a simple update command on the grant tables
   

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>