diff options
Diffstat (limited to 'odb/mysql/details/options.cli')
-rw-r--r-- | odb/mysql/details/options.cli | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/odb/mysql/details/options.cli b/odb/mysql/details/options.cli new file mode 100644 index 0000000..04de6b0 --- /dev/null +++ b/odb/mysql/details/options.cli @@ -0,0 +1,62 @@ +// file : odb/mysql/details/options.cli +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +include <string>; + +namespace odb +{ + namespace mysql + { + namespace details + { + class options + { + std::string --user + { + "<name>", + "MySQL database user." + }; + + std::string --password + { + "<str>", + "MySQL database password" + }; + + std::string --database + { + "<name>", + "MySQL database name." + }; + + std::string --host + { + "<addr>", + "MySQL database host name or address (localhost by default)." + }; + + unsigned int --port = 0 + { + "<integer>", + "MySQL database port number." + }; + + std::string --socket + { + "<name>", + "MySQL database socket name." + }; + + std::string --options-file + { + "<file>", + "Read additional options from <file>. Each option appearing on a + separate line optionally followed by space and an option value. + Empty lines and lines starting with \cb{#} are ignored." + }; + }; + } + } +} |