blob: 408651dc270ea96a512f44b9d24b1cdac110fc28 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/scripts/mysql_install_db.sh
2+++ b/scripts/mysql_install_db.sh
3@@ -424,7 +424,7 @@ fi
4
5
6 # Try to determine the hostname
7-hostname=`@HOSTNAME@`
8+hostname=`cat /proc/sys/kernel/hostname`
9
10 # Check if hostname is valid
11 if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0