3

I have installed MySQL 8.0 on Google Compute Engine instance. I would like to follow this document to grant remote access from outside. However, after opening my.conf from /etc/mysql/, there is no line regarding bind-address in the file

!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/

How can I find bind-address to modify? Thank!

dinex
  • 367
  • 5
  • 15

1 Answers1

4

It looks like that the additional configuration are found at the other directives:

!includedir /etc/mysql/conf.d/ !includedir /etc/mysql/mysql.conf.d/

For ubuntu,most of the settings you are looking for are now found in "/etc/mysql/mysql.conf.d/mysqld.cnf"

I have notified the documentation team internally to update the document.

Instance-dev@ubuntu123:/etc/mysql$ sudo grep -rnw 'bind-address' /etc/mysql

/etc/mysql/mysql.conf.d/mysqld.cnf:43:bind-address = 127.0.0.1

KarthickN
  • 409
  • 2
  • 8