Code: Select all
bind-address=*
Code: Select all
bind-address=127.0.0.1,192.168.1.27
Moderator: Forum Moderators
Code: Select all
bind-address=*
Code: Select all
bind-address=127.0.0.1,192.168.1.27
Code: Select all
u2404$ netstat -an | grep 3306
tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN
tcp6 0 0 :::3306 :::* LISTEN
Code: Select all
oot@u2404:/home/mythtv/.mythtv# netstat -an | grep 3306
tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:46232 127.0.0.1:3306 ESTABLISHED
tcp6 0 0 :::3306 :::* LISTEN
tcp6 0 0 127.0.0.1:3306 127.0.0.1:46232 ESTABLISHED
Code: Select all
root@u2404:/home/mythtv/.mythtv# netstat -an | grep 3306
tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:46232 127.0.0.1:3306 TIME_WAIT
tcp 0 0 192.168.124.90:50276 192.168.124.90:3306 ESTABLISHED
tcp6 0 0 :::3306 :::* LISTEN
tcp6 0 0 192.168.124.90:3306 192.168.124.90:50276 ESTABLISHED
Code: Select all
root@u2404:/home/mythtv/.mythtv# ss -an6 | grep 3306
tcp LISTEN 0 100 *:3306 *:*
tcp ESTAB 0 0 [::ffff:192.168.124.90]:3306 [::ffff:192.168.124.90]:36800
root@u2404:/home/mythtv/.mythtv# ss -an4 | grep 3306
tcp LISTEN 0 70 127.0.0.1:33060 0.0.0.0:*
tcp TIME-WAIT 0 0 127.0.0.1:60610 127.0.1.1:3306
tcp ESTAB 0 0 192.168.124.90:36800 192.168.124.90:3306
Code: Select all
$ mysql --user=mythtv --host=192.168.1.27 mythconverg -p
$ mysql --user=mythtv --host=localhost mythconverg -p
$ mysql --user=mythtv --host=127.0.0.1 mythconverg -p
Code: Select all
mysql> show tables;
Code: Select all
$ ip addr
$ ip -r addr
Code: Select all
mysql> show tables:
->
Code: Select all
dad@generosity:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 Generosity
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Code: Select all
░ A start job for unit mythtv-backend.service has begun execution.
░░
░░ The job identifier is 204.
Sep 18 08:29:40 generosity bash[1733]: /usr/share/mythbuntu/hdhomerun-discover.py:112: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
Sep 18 08:29:40 generosity bash[1733]: start = datetime.utcnow()
Sep 18 08:29:41 generosity systemd[1]: mythtv-backend.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStartPre= process belonging to unit mythtv-backend.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 2.
and the given grep output!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/
then the bind-adress is set to 127.0.0.1$ grep -r bind /etc/mysql/
/etc/mysql/mysql.conf.d/mysqld.cnf:bind-address = 127.0.0.1
/etc/mysql/mysql.conf.d/mysqld.cnf:mysqlx-bind-address = 127.0.0.1
grep: /etc/mysql/debian.cnf: Permission denied
/etc/mysql/conf.d/mythtv.cnf:bind-address=*
/etc/mysql/mysql.conf.d/
Code: Select all
show tables;