mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Proper follow-up for Bug#12762885 - 61713: MYSQL WILL NOT BIND TO "LOCALHOST"
IF LOCALHOST IS BOTH IPV4/IPV6 ENABLED. The original patch removed default value of the bind-address option. So, the default value became NULL. By coincedence NULL resolves to 0.0.0.0 and ::, and since the server chooses first IPv4-address, 0.0.0.0 is choosen. So, there was no change in the behaviour. This patch restores default value of the bind-address option to "0.0.0.0".
This commit is contained in:
@ -146,6 +146,7 @@ extern char *opt_backup_history_logname, *opt_backup_progress_logname,
|
||||
extern const char *log_output_str;
|
||||
extern const char *log_backup_output_str;
|
||||
extern char *mysql_home_ptr, *pidfile_name_ptr;
|
||||
extern char *my_bind_addr_str;
|
||||
extern char glob_hostname[FN_REFLEN], mysql_home[FN_REFLEN];
|
||||
extern char pidfile_name[FN_REFLEN], system_time_zone[30], *opt_init_file;
|
||||
extern char default_logfile_name[FN_REFLEN];
|
||||
|
Reference in New Issue
Block a user