diff options
Diffstat (limited to 'libodb-mysql/odb/mysql/details/options.cli')
-rw-r--r-- | libodb-mysql/odb/mysql/details/options.cli | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/libodb-mysql/odb/mysql/details/options.cli b/libodb-mysql/odb/mysql/details/options.cli new file mode 100644 index 0000000..845c292 --- /dev/null +++ b/libodb-mysql/odb/mysql/details/options.cli @@ -0,0 +1,61 @@ +// file : odb/mysql/details/options.cli +// 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 should appear on a + separate line optionally followed by space or equal sign (\cb{=}) + and an option value. Empty lines and lines starting with \cb{#} are + ignored." + }; + }; + } + } +} |