--- doc/build/Attic/loncapasqldatabase.html 2001/02/16 12:40:29 1.12 +++ doc/build/Attic/loncapasqldatabase.html 2001/02/20 14:03:27 1.14 @@ -50,12 +50,41 @@ of a resource).
+Security occurs as a function of the user 'www', +and the permissions on the files in the /usr/local/mysql +directory. (These files and directories should +be 700, 600, 500, 400, etc; not allow access to anyone +but user 'www'.) +
+These commands create the loncapameta database.
-mysql> CREATE DATABASE IF NOT EXISTS loncapameta - -> CREATE TABLE IF NOT EXISTS resourceversions +mysql> CREATE DATABASE IF NOT EXISTS loncapa; +mysql> USE loncapa; +mysql> CREATE TABLE IF NOT EXISTS metadata (title TEXT, author TEXT, subject TEXT, notes TEXT, abstract TEXT, mime TEXT, language TEXT, creationdate TEXT, lastrevisiondate TEXT, owner TEXT, copyright TEXT, FULLTEXT (title, author, subject, notes, abstract, mime, language, creationdate, lastrevisiondate, owner, copyright)) TYPE=MYISAM; +mysql> INSERT INTO metadata VALUES ('1','2','3','4','5','6','7','8','9','10','11'); +mysql> SELECT * FROM metadata WHERE title REGEXP "1"; ++ +
+Current time values for things. +
+fenchurch.lite.msu.edu +Mem: 46812K av, 45632K used, 1180K free, 14756K shrd, 4292K buff +Swap: 1148608K av, 11260K used, 1137348K free 13244K cached +Red Hat Linux release 6.2 (Zoot) +Kernel 2.2.16-3 on an i586+
An important quote from the manual: @@ -415,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.12 $ +DBI test application $Revision: 1.14 $ Using /home/user/DBI-1.14/blib Switch: DBI 1.14 by Tim Bunce, 1.14 Available Drivers: ADO, ExampleP, Multiplex, Proxy, mysql