There is no bind-address in the mysql configuration file my.cnf under Ali Cloud lamp environment.

I have seen a lot of posts on the Internet, but my my.cnf does not contain any other configuration files. All the code in the configuration files below

-sharp For advice on how to change settings please see
-sharp http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
-sharp *** DO NOT EDIT THIS FILE. It"s a template which will be copied to the
-sharp *** default location during install, and will be replaced if you
-sharp *** upgrade to a newer version of MySQL.

[mysqld]



sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

-sharp 
basedir = /usr/local/mysql
datadir = /usr/local/mysql/data
port = 3306
socket = /tmp/mysql.sock
character-set-server=utf8


back_log = 300
max_connections = 1000
max_connect_errors = 50
table_open_cache = 4096
max_allowed_packet = 32M
binlog_cache_size = 4M

max_heap_table_size = 128M
read_rnd_buffer_size = 16M
sort_buffer_size = 16M
join_buffer_size = 16M
thread_cache_size = 16
query_cache_size = 128M
query_cache_limit = 4M
ft_min_word_len = 8

thread_stack = 512K
transaction_isolation = REPEATABLE-READ
tmp_table_size = 128M
log-bin=mysql-bin
long_query_time = 6


server_id=1

innodb_buffer_pool_size = 512M
innodb_thread_concurrency = 16
innodb_log_buffer_size = 16M


innodb_log_file_size = 128M
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120
innodb_file_per_table = on

[mysqldump]
quick

max_allowed_packet = 32M

[mysql]
no-auto-rehash
default-character-set=utf8
safe-updates

[myisamchk]
key_buffer = 16M
sort_buffer_size = 16M
read_buffer = 8M
write_buffer = 8M

[mysqlhotcopy]
interactive-timeout

[mysqld_safe]
open-files-limit = 8192

[client]

my my.cnf is in the / etc directory, and there is also a my.cnf.d directory in this directory. There are three files client.cnf,mysql-client.cnf and server.cnf, in this folder, but none of them has any specific content. Does any great god know what"s going on?

Mar.31,2021
Menu