--- doc/build/Attic/loncapasqldatabase.html 2002/03/01 22:14:00 1.17 +++ doc/build/Attic/loncapasqldatabase.html 2002/11/16 00:57:28 1.20 @@ -444,7 +444,7 @@ All tests successful, 1 test skipped. Files=7, Tests=179, 7 wallclock secs ( 6.46 cusr + 0.49 csys = 6.95 CPU) PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 test.pl test.pl -DBI test application $Revision: 1.17 $ +DBI test application $Revision: 1.20 $ Using /home/user/DBI-1.14/blib Switch: DBI 1.14 by Tim Bunce, 1.14 Available Drivers: ADO, ExampleP, Multiplex, Proxy, mysql @@ -557,7 +557,8 @@ VALUES ('localhost','www',password('newm

Granting privileges to user 'www':

-GRANT ALL PRIVILEGES ON *.* TO www@localhost;
+INSERT INTO db VALUES ('localhost','loncapa','www',
+'Y','Y','Y','Y','Y','Y','N'\,'Y','Y','Y');
 FLUSH PRIVILEGES;
 

@@ -618,13 +619,13 @@ As user www, run this command enter the password as SOMEPASSWORD To add the user www to the MySQL server, and grant all -privileges on *.* to www@localhost identified by 'SOMEPASSWORD' +privileges on loncapa.* to www@localhost identified by 'SOMEPASSWORD' with grant option; INSERT INTO user (Host, User, Password) VALUES ('localhost','www',password('SOMEPASSWORD')); -GRANT ALL PRIVILEGES ON *.* TO www@localhost; +GRANT ALL PRIVILEGES ON loncapa.* TO 'www@localhost'; FLUSH PRIVILEGES;