File: settings.py.in

package info (click to toggle)
mysql-workbench 6.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 113,932 kB
  • ctags: 87,814
  • sloc: ansic: 955,521; cpp: 427,465; python: 59,728; yacc: 59,129; xml: 54,204; sql: 7,091; objc: 965; makefile: 638; sh: 613; java: 237; perl: 30; ruby: 6; php: 1
file content (35 lines) | stat: -rw-r--r-- 1,413 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
source_instances = (
    ('sqlite', { 'module'            : 'sqlite3',
                 'database'          : '/tmp/sampledb.sqlite',
                 'password'          : '',
                 'connection_string' : '%(database)s',  # This and 'module' go to wbcopytables --pythondbapi-source=<module>://<connection_string>
                                                        # and can take values from this source instance dict, as shown in this example
               }
    ),
    # Add more source instances if you need them here
)

mysql_instances = (
    ('mysql_5.5', { 'user'        : 'root',
                  'password'    : '<user pwd here>',
                  'host'        : '127.0.0.1',
                  'port'        : 3306,
                  'database'    : 'sampledb',
                }
    ),
    ('mysql_5.6', { 'user'        : 'root',
                    'password'    : '<user pwd here>',
                    'host'        : '172.16.0.101',
                    'port'        : 3356,
                    'database'    : 'sampledb',
                   }
    ),
    # Add/remove target mysql servers here. All tests will be run in each of these servers
)

# Paths to executables:
mysql_client = '/usr/bin/mysql'
mysql_dump   = '/usr/bin/mysqldump'
copytables_path = '<wb install dir>/bin/wbcopytables'

log_file = '/tmp/wbcopytable_tests.log'  # Use an empty string to log to stdout instead