From ccccf0801306e5f7c388d9b7d0db6c9162aec4a0 Mon Sep 17 00:00:00 2001 From: Aaron Johnson Date: Sat, 26 Mar 2022 07:13:10 -0500 Subject: [PATCH] Updats for sha2 --- notes.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'@'%';