diff --git a/notes.txt b/notes.txt index 536cecf..727f835 100644 --- a/notes.txt +++ b/notes.txt @@ -1,7 +1,7 @@ # Create MySQL tables: CREATE TABLE pwtool.mypasswd ( password VARCHAR(256) NULL, - `code` varchar(32) NOT NULL, + `code` varchar(64) NOT NULL, retrieved_ip varchar(39) NULL, retireved_time TIMESTAMP NULL, id BIGINT UNSIGNED auto_increment NOT NULL, @@ -16,7 +16,7 @@ CREATE INDEX mypasswd_id_IDX USING BTREE ON pwtool.mypasswd (id); # create user: CREATE USER 'pwtool'@'%'; ALTER USER 'pwtool'@'%' -IDENTIFIED BY 'BaVYtU9YqMyrp4qi' ; +IDENTIFIED BY 'XXX' ; GRANT Insert ON pwtool.mypasswd TO 'pwtool'@'%'; GRANT Select ON pwtool.mypasswd TO 'pwtool'@'%'; GRANT Update ON pwtool.mypasswd TO 'pwtool'@'%';