diff --git a/Using-the-MySQL-Backend.md b/Using-the-MySQL-Backend.md index 11b9932..3a1cef6 100644 --- a/Using-the-MySQL-Backend.md +++ b/Using-the-MySQL-Backend.md @@ -6,6 +6,18 @@ To run the binary or container ensure the ```DATABASE_URL``` environment variabl ``` DATABASE_URL=mysql://[[user]:[password]@]host[:port][/database] ``` +If your password contains special characters, you will need to use percentage encoding. + +{| cellpadding="6px" border=1 style="border:1px solid #C0C0C0; border-collapse:collapse; background-color:white;" class="wikitable" +|+Reserved characters after percent-encoding +|- +| [[exclamation mark|!]] || [[number sign|#]] || [[dollar sign|$]] || [[Percent sign|%]] || [[ampersand|&]] || [[apostrophe (mark)|']] || [[parenthesis|(]] || [[parenthesis|)]] || [[asterisk|*]] || [[plus sign|+]] || [[Comma|,]] || [[slash (punctuation)|/]] || [[colon (punctuation)|:]] || [[semicolon|;]] || [[equal sign|=]] || [[question mark|?]] || [[@]] || [[square_bracket|[]] || [[square_bracket|]]] +|- +| %21 || %23 || %24 || %25 || %26 || %27 || %28 || %29 || %2A || %2B || %2C || %2F || %3A || %3B || %3D|| %3F || %40 || %5B || %5D +|} + +A complete list of codes can be found on [Wikipedia page for percent encoding](https://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_reserved_characters) + **Example using Docker:** ``` # Start a mysql container