--mysql_config_file

Switch

--mysql_config_file /path/to/config/file.txt

Description

Set the location of the MySQL configuration file. Can also use --conf or --mysql_config

Argument and Default Value

Default value: ~/.my.cnf

Note, that if the file ~/.my.cnf does not exist and you do not use this flag, then MySQL will use the following defaults:

  • User: your current system-level username

  • Password: No password

  • Host: localhost

Details

For more details on the data engines please see Data Engines.

Example Commands

Standard unigram extraction

dlatkInterface.py -d dla_tutorial -t msgs -c user_id --add_ngrams --mysql_config_file ~/mysql_config.txt