<address id="fbd9b"></address>
      <address id="fbd9b"><nobr id="fbd9b"><th id="fbd9b"></th></nobr></address>

      <form id="fbd9b"></form>

          <form id="fbd9b"></form>

              <address id="fbd9b"><nobr id="fbd9b"><nobr id="fbd9b"></nobr></nobr></address>

              <address id="fbd9b"><nobr id="fbd9b"><meter id="fbd9b"></meter></nobr></address>

                <form id="fbd9b"></form>

                <address id="fbd9b"></address>
                  <form id="fbd9b"></form>

                  <form id="fbd9b"><nobr id="fbd9b"><nobr id="fbd9b"></nobr></nobr></form>

                    <address id="fbd9b"><nobr id="fbd9b"></nobr></address>

                    <form id="fbd9b"></form>
                    <form id="fbd9b"><nobr id="fbd9b"></nobr></form>
                      首頁 服務 產品 文檔 關于

                      centos 華為OpenEuler 用c#連接MySQL出現錯誤 Unable to connect to any of the specified MySQL hosts.

                      centos 華為OpenEuler 用c#連接MySQL出現錯誤 Unable to connect to any of the specified MySQL hosts.

                      檢查連接字符串沒問題

                      防火墻也沒開,

                      主要是因為iptables相關端口沒開導致的

                      開放TCP3306端口***************************
                      1、開啟iptables端口

                      開啟1521端口:

                      iptables -A INPUT -p tcp --dport 3306 -j ACCEPT

                      iptables -A OUTPUT -p tcp --dport 3306 -j ACCEPT

                      2、保存iptables設置,重啟iptables

                      在更改完設置后要先保存設置:

                      service iptables save

                      然后再重啟iptables才能使設置生效:

                      service iptables restart

                      3、看端口

                      輸入命令查看已開端口:

                      iptables -L -n

                      国产日本精品久久久久|成年美女黄的视频网站|国产精品综合在线观看|无码亚洲一区中文字幕

                        <address id="fbd9b"></address>
                          <address id="fbd9b"><nobr id="fbd9b"><th id="fbd9b"></th></nobr></address>

                          <form id="fbd9b"></form>

                              <form id="fbd9b"></form>

                                  <address id="fbd9b"><nobr id="fbd9b"><nobr id="fbd9b"></nobr></nobr></address>

                                  <address id="fbd9b"><nobr id="fbd9b"><meter id="fbd9b"></meter></nobr></address>

                                    <form id="fbd9b"></form>

                                    <address id="fbd9b"></address>
                                      <form id="fbd9b"></form>

                                      <form id="fbd9b"><nobr id="fbd9b"><nobr id="fbd9b"></nobr></nobr></form>

                                        <address id="fbd9b"><nobr id="fbd9b"></nobr></address>

                                        <form id="fbd9b"></form>
                                        <form id="fbd9b"><nobr id="fbd9b"></nobr></form>