Pt-online-schema-change error Can't connect to local MySQL server

help me
Ubuntu 24.04.2 LTS
pt-online-schema-change 3.7.0
pt-online-schema-change --user=qos_dev --ask-pass --host=rm-2ze81ryvx0k42106h239.mysql.rds.aliyuncs.com --port=3306 --alter “ADD COLUMN t_id int NOT NULL DEFAULT 0 COMMENT ‘测试字段’” D=qos,t=qos_value_tag --dry-run
dry-run all right
pt-online-schema-change --user=qos_dev --ask-pass --host=rm-2ze81ryvx0k42106h239.mysql.rds.aliyuncs.com --port=3306 --alter “ADD COLUMN t_id int NOT NULL DEFAULT 0 COMMENT ‘测试字段’” D=qos,t=qos_value_tag --execute
execute error:
Enter MySQL password:
Cannot connect to P=3043,h=,p=…,u=qos_dev: DBI connect(‘;host=;port=3043;mysql_read_default_group=client’,‘qos_dev’,…) failed: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) at /usr/bin/pt-online-schema-change line 2345.
Can’t call method “selectrow_array” on an undefined value at /usr/bin/pt-online-schema-change line 4391, line 1.

Please look for a ~/.my.cnf or /etc/my.cnf file that is overriding the port parameter.

The current machine does not have mysql installed. Do I need to install mysql?

No, but you clearly have some local config that is overriding the pt-osc defaults, as evidenced here: