Browse files

docs: documented the config syntax for db passwords with special char…

…s in them.
  • Loading branch information...
1 parent 59e12ad commit 562a67769f18f1a8b02e12915a4292840fb8c2f0 @agentzh agentzh committed Sep 5, 2012
Showing with 18 additions and 3 deletions.
  1. +6 −1 README
  2. +6 −1 README.markdown
  3. +6 −1 doc/HttpDrizzleModule.wiki
View
7 README
@@ -134,7 +134,12 @@ Directives
The following options are supported:
user="<user>" MySQL/Drizzle user name "<user>" for login.
- password="<pass>" Specify mysql password "<pass>"for login.
+ password="<pass>" Specify mysql password "<pass>"for login. If you have
+ special characters like "#" or spaces in your password text, then you'll
+ have to quote the whole key-value pair with either single-quotes or
+ double-quotes, as in drizzle_server 127.0.0.1:3306 user=monty
+ "password=a b#1" dbname=test protocol=mysql;
+
dbname="<database>" Specify default MySQL database "<database>" for the
connection. Note that MySQL does allow referencing tables belonging to
different databases by qualifying table names with database names in SQL
View
7 README.markdown
@@ -146,7 +146,12 @@ The following options are supported:
MySQL/Drizzle user name `<user>` for login.
**password=**`<pass>`
- Specify mysql password `<pass>`for login.
+ Specify mysql password `<pass>`for login. If you have special characters like `#` or spaces in your password text, then you'll have to quote the whole key-value pair with either single-quotes or double-quotes, as in
+
+
+ drizzle_server 127.0.0.1:3306 user=monty "password=a b#1"
+ dbname=test protocol=mysql;
+
**dbname=**`<database>`
Specify default MySQL database `<database>` for the connection. Note that MySQL does allow referencing tables belonging to different databases by qualifying table names with database names in SQL queries.
View
7 doc/HttpDrizzleModule.wiki
@@ -132,7 +132,12 @@ The following options are supported:
: MySQL/Drizzle user name <code><user></code> for login.
'''password='''<code><pass></code>
-: Specify mysql password <code><pass></code>for login.
+: Specify mysql password <code><pass></code>for login. If you have special characters like <code>#</code> or spaces in your password text, then you'll have to quote the whole key-value pair with either single-quotes or double-quotes, as in
+
+<geshi lang="nginx">
+ drizzle_server 127.0.0.1:3306 user=monty "password=a b#1"
+ dbname=test protocol=mysql;
+</geshi>
'''dbname='''<code><database></code>
: Specify default MySQL database <code><database></code> for the connection. Note that MySQL does allow referencing tables belonging to different databases by qualifying table names with database names in SQL queries.

0 comments on commit 562a677

Please sign in to comment.