version 1.10, 2002/11/16 00:01:29
|
version 1.11, 2002/11/16 00:57: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'; |
INSERT INTO db VALUES ('localhost','loncapa','www', |
|
'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
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; |