version 1.9, 2002/09/24 13:16:23
|
version 1.10, 2002/11/16 00:01:29
|
Line 364 print MYSQL <<"ENDMYSQL";
|
Line 364 print MYSQL <<"ENDMYSQL";
|
CREATE DATABASE loncapa; |
CREATE DATABASE loncapa; |
INSERT INTO user (Host, User, Password) |
INSERT INTO user (Host, User, Password) |
VALUES ('localhost','www',password('localhostkey')); |
VALUES ('localhost','www',password('localhostkey')); |
GRANT ALL PRIVILEGES ON loncapa.* TO www\@localhost; |
GRANT ALL PRIVILEGES ON loncapa.* TO 'www\@localhost'; |
SET PASSWORD FOR root\@localhost=PASSWORD('$rootpass'); |
SET PASSWORD FOR root\@localhost=PASSWORD('$rootpass'); |
DELETE FROM user WHERE host<>'localhost'; |
DELETE FROM user WHERE host<>'localhost'; |
FLUSH PRIVILEGES; |
FLUSH PRIVILEGES; |