Database attack?

Discussion in 'MySQL' started by girbaud, Jan 31, 2006.

  1. #1
    can anyone please explain the "SQL Attack"?? were having problems on the site, and the error is kinda like this: Lost connection to MySQL server during query...

    can someone explain why this thing happening?
    replies would be very much appreciated. thank you :)
     
    girbaud, Jan 31, 2006 IP
  2. discoverclips

    discoverclips Peon

    Messages:
    491
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    did you try restarting the mysql database?
     
    discoverclips, Jan 31, 2006 IP
  3. girbaud

    girbaud Peon

    Messages:
    293
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    its alright now.
    anyone knows about techs blocking ip address?
     
    girbaud, Feb 1, 2006 IP
  4. PedstersPlanet

    PedstersPlanet Peon

    Messages:
    195
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I had this kind of problem, my MySQL kept crashing....... I couldnt see why, even my hosting support were stumped..... But after a while, the problem went away.

    I would check tables and repair them if errors are found, maybe run a bash script as a cron every week... As I hear corrupt databases can do weird things to MySQL.
     
    PedstersPlanet, Feb 1, 2006 IP
  5. dfsweb

    dfsweb Active Member

    Messages:
    1,587
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    88
    #5
    Agree with Pedsters. Plus, check and ensure that it doesn't have any space issues. If you are hosting with a hosting company, your database can get corrupted if you run out of hosting space.
     
    dfsweb, Feb 1, 2006 IP
  6. scylla

    scylla Notable Member

    Messages:
    1,025
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    225
    #6
    Pick up a book called "innocent code". It lists ways that someone could attack you with sql injection & some of the neccesary steps to take to prevent that. And it also includes more site security topics too.
     
    scylla, Feb 2, 2006 IP
  7. wwm

    wwm Peon

    Messages:
    308
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Lost connection to MySQL server during query.

    this could happen if server is busy
    by default mysql is only set to accept 100conections
     
    wwm, Feb 3, 2006 IP