Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: documented the config syntax for db passwords with special char…
…s in them.
  • Loading branch information
agentzh committed Sep 5, 2012
1 parent 59e12ad commit 562a677
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion README.markdown
Expand Up @@ -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.
Expand Down
7 changes: 6 additions & 1 deletion doc/HttpDrizzleModule.wiki
Expand Up @@ -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.
Expand Down

0 comments on commit 562a677

Please sign in to comment.