diff --git a/mysql/README b/mysql/README index 78cc14a..4303606 100644 --- a/mysql/README +++ b/mysql/README @@ -60,3 +60,15 @@ Installation This should be all. + +Manual Installation +=================== + + 1) create a mysql database + mysqladmin create $db + + 2) add the required GRANT to a user and database + echo "GRANT ALL PRIVILEGES ON $db TO $user@localhost IDENTIFIED BY '$password'" | mysql mysql + + 3) create the schema: + mysql $db < sql diff --git a/mysql/sql b/mysql/sql index 37d6072..3454f9b 100644 --- a/mysql/sql +++ b/mysql/sql @@ -1,5 +1,6 @@ CREATE TABLE note ( number int(10) DEFAULT '0' NOT NULL auto_increment, + topic text, note text, date text, PRIMARY KEY (number)