Невозможно удаленно управлять сервером MySQL - PullRequest
0 голосов
/ 30 апреля 2019

Мне нужен удаленный доступ к базе данных mysql (с другого устройства, подключенного к той же сети).Поиск в интернете Я знал, что я должен включить дистанционное управление, но не смог.Как я могу это сделать?

Когда я подключаюсь, после запроса пароля, у меня появляется эта ошибка: ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.1.206' (111). Я пытался следовать некоторым инструкциям, пока вы не прокомментируете bind-address в my.cnf,потому что файл "my.cnf" выглядит так:

# The MariaDB configuration file
#
# The MariaDB/MySQL tools read configuration files in the following order:
# 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
# 2. "/etc/mysql/conf.d/*.cnf" to set global options.
# 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
# 4. "~/.my.cnf" to set user-specific options.
#
# If the same option is defined multiple times, the last one will apply.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.

#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]

# Import all .cnf files from configuration directory
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mariadb.conf.d/

, поэтому я не могу включить пульт дистанционного управления.Есть предложения?

...