From acae8f6798f86d819131339210b087bb0a7ac474 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Tue, 20 Nov 2018 18:54:28 +0100 Subject: [PATCH] example PSK in mysql database --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a42af7e7..7da7c071 100644 --- a/README.md +++ b/README.md @@ -811,6 +811,12 @@ Received PUBLISH from mosqpub/90759-tiggr.ww. (d0, q0, r0, m0, 'x', ... (2 bytes Received DISCONNECT from mosqpub/90759-tiggr.ww. ``` +In the case of this MySQL example, we added the clear text of the PSK key to the database: + +``` +mysql> INSERT INTO user (username, pwhash, superuser) VALUES ('mylistener', 'F0BEEF', 0); +``` + ## Requirements * [hiredis], the Minimalistic C client for Redis