Package: python-mysqldb Version: 1.3.10-2 Severity: normal When connecting like this: connection = MySQLdb.connect(read_default_file=dbconfig) lines in the option file specifying a remote host are ignored. Whatever host is specified in the option file, python-mysqldb always attempts a connection to localhost.
Named host parameters to MySQLdb.connect() are handled correctly. -- System Information: Debian Release: buster/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.20.0-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:de:hr (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-mysqldb depends on: ii libc6 2.28-5 ii libmariadb3 1:10.3.12-2 ii libssl1.1 1.1.1a-1 ii python 2.7.15-4 ii zlib1g 1:1.2.11.dfsg-1 python-mysqldb recommends no packages. Versions of packages python-mysqldb suggests: ii mariadb-server-10.3 [virtual-mysql-server] 1:10.3.12-2 pn python-egenix-mxdatetime <none> pn python-mysqldb-dbg <none> -- no debconf information