MySql help! Willing to pay...

Discussion in 'MySQL' started by zzbot, Aug 1, 2008.

  1. #1
    Hi, I have a dedicated server running apache + mysql.

    The mysql database has been crashing on a daily basis lately, I tried all sorts of tweaking like setting the max_connection higher, persistent connection to off, but it's still crashing. Also when the database crashes I'm unable to access through SSH neither.

    Could someone please fix it up for me? Willing to pay, thanks.
     
    zzbot, Aug 1, 2008 IP
  2. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #2
    If this is due to MySQL then you may need to optimize your MySQL configuration file. Below link will help you to set optimized settings:

    http://www.t-scripts.com/mysql/

    Also I suggest you to look in Apache error logs too and monitor your server load on regular basis. Check the CPU usage of running process when the load goes high.

    Kailash
     
    kailash, Aug 1, 2008 IP
  3. david_t

    david_t Member

    Messages:
    74
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #3
    Have you tried optimizing the queries who runs on the database? And do you have appropriate indexes?
     
    david_t, Aug 2, 2008 IP
  4. Premium Writer

    Premium Writer Banned

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You should post this in BST section at services.
     
    Premium Writer, Aug 2, 2008 IP
  5. blueroomhosting

    blueroomhosting Peon

    Messages:
    13
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you're unable SSH in when this happens, that suggests a more system-wide problem than just mysql. Maybe the machine is running out of memory or disk space, or perhaps there is some filesystem corruption or hardware problem... Can you see whether there's anything out of the ordinary in your system logs?
     
    blueroomhosting, Aug 2, 2008 IP