问题:Centos 7 Authorization failed. Make sure polkit agent is running or run the application as superuser?

image.png

    解决方法:1.切换到root用户     

                      [cqs@centos7 ~]$ su root

                      2.使用具用root权限用户

                     [cqs@centos7 ~]$sudo firewall-cmd --permanent --add-port=3306/tcp

image.png