version 1.7, 2002/07/22 14:23:04
|
version 1.8, 2002/09/23 01:25:09
|
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 *.* 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; |