mysql question need help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xanx
    Confirmed User
    • Apr 2002
    • 3711

    #1

    mysql question need help

    i can't figure out why this is happening..

    Processes are being created on the mysql machine, over 167, so it must be recognizing the connections... just no data is being transferred. WTF
  • tical
    Confirmed User
    • Feb 2002
    • 6504

    #2
    restart the server
    112.020.756

    Comment

    • lib
      Registered User
      • Sep 2003
      • 53

      #3
      What do you mean no data is being transferred? You can't run any queries?

      If the processes are sleeping, that's just because they're idle. Fine tune your settings and kill off some of your persistent connections.

      Comment

      • tical
        Confirmed User
        • Feb 2002
        • 6504

        #4
        format the machine
        112.020.756

        Comment

        • xanx
          Confirmed User
          • Apr 2002
          • 3711

          #5
          Originally posted by lib
          What do you mean no data is being transferred? You can't run any queries?

          If the processes are sleeping, that's just because they're idle. Fine tune your settings and kill off some of your persistent connections.
          it is a duel server setup..i remember reading somewhere that either persistant connections or fuck...something like that may cause trouble.. hmmm

          Comment

          • tical
            Confirmed User
            • Feb 2002
            • 6504

            #6
            put a new fan in the machine
            112.020.756

            Comment

            • darksoul
              Confirmed User
              • Apr 2002
              • 4997

              #7
              well
              it doesn't matter if its a "duel" or not
              with a bad query and a bad table
              structure you can kill all the duels in the world.
              1337 5y54|)m1n: 157717888
              BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
              Cambooth

              Comment

              • lib
                Registered User
                • Sep 2003
                • 53

                #8
                So what is actually happening? Using the shell on one machine, can you connect to the other's SQL?

                server# mysql -u USER -h OTHERSERVER -p DATABASE

                If you don't know your password and get an error, at least it's connecting. If it's not connecting, make sure your bind address is not 127.0.0.1 in my.cnf.

                Comment

                • lib
                  Registered User
                  • Sep 2003
                  • 53

                  #9
                  Originally posted by tical
                  put a new fan in the machine
                  Defrag!

                  Comment

                  • tical
                    Confirmed User
                    • Feb 2002
                    • 6504

                    #10
                    It could be the color of your cat5 cable

                    try a red one

                    then try a blue one
                    112.020.756

                    Comment

                    • xanx
                      Confirmed User
                      • Apr 2002
                      • 3711

                      #11
                      Originally posted by lib
                      So what is actually happening? Using the shell on one machine, can you connect to the other's SQL?

                      server# mysql -u USER -h OTHERSERVER -p DATABASE

                      If you don't know your password and get an error, at least it's connecting. If it's not connecting, make sure your bind address is not 127.0.0.1 in my.cnf.
                      [root@hosted-by root]# mysql -u root -h 192.168.1.2 -p ****_phpbb
                      Enter password:

                      above seems to hang forever.

                      Comment

                      • lib
                        Registered User
                        • Sep 2003
                        • 53

                        #12
                        Running iptables on the other box?

                        If you do a 'netstat -l' do you see it listening (LISTEN) on the 3306/mysql port? You'll see something like a *:3306 in there.

                        You try restarting mysql or rebooting like tical said?

                        Did this ever work?

                        You did a show processes on the other box? Can you connect locally?

                        Comment

                        • xanx
                          Confirmed User
                          • Apr 2002
                          • 3711

                          #13
                          Originally posted by lib
                          Running iptables on the other box?

                          If you do a 'netstat -l' do you see it listening (LISTEN) on the 3306/mysql port? You'll see something like a *:3306 in there.

                          You try restarting mysql or rebooting like tical said?

                          Did this ever work?

                          You did a show processes on the other box? Can you connect locally?
                          I disabled persistent connections but still no-go. Also mysql is listening on port 3306, just checked that. I restarted it many times,

                          Comment

                          • lib
                            Registered User
                            • Sep 2003
                            • 53

                            #14
                            You able to connect to it at all from any place at all?

                            Did this ever work?

                            Comment

                            • xanx
                              Confirmed User
                              • Apr 2002
                              • 3711

                              #15
                              Originally posted by lib
                              You able to connect to it at all from any place at all?

                              Did this ever work?
                              I am able to connect from mysql server:
                              mysql -u root -h localhost -p *****_phpbb


                              and this is a brand new server setup so no it has never worked before

                              Comment

                              • lib
                                Registered User
                                • Sep 2003
                                • 53

                                #16
                                To test, try stopping iptables completely.

                                Maybe paste your my.cnf too.

                                Comment

                                Working...