1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Always get error

Discussion in 'Troubleshooting and Problems' started by johndaroza, Nov 20, 2014.

  1. johndaroza

    johndaroza Member

    "An unexpected database error occurred. Please try again later xenforo"

    file my.cnf

    # Disabling symbolic-links is recommended to prevent assorted security risks
    # Settings user and group are ignored when systemd is used (fedora >= 15).
    # If you need to run mysqld under a different user or group,
    # customize your systemd unit file for mysqld according to the
    # instructions in http://fedoraproject.org/wiki/Systemd
    # Semisynchronous Replication
    # http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
    # uncomment next line on MASTER
    # uncomment next line on SLAVE
    # Others options for Semisynchronous Replication
    # http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html
    # include all files from the config directory
    !includedir /etc/my.cnf.d
    key_buffer = 500M
    table_cache = 4000
    sort_buffer_size = 3M
    read_buffer_size = 2M
    read_rnd_buffer_size = 8M
    myisam_sort_buffer_size = 64M
    max_connections = 400
    query_cache_type = 1
    query_cache_limit = 5M
    query_cache_size = 500M
    thread_cache_size = 64
    wait_timeout = 600
    connect_timeout = 120
    max_allowed_packet = 14MB
    Please help me.

    Thank you
    Last edited: Nov 20, 2014
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Your site is loading fine for me.

    However, I note the XenForo copyright is missing - please restore it as soon as possible.
  3. johndaroza

    johndaroza Member

    Now, it works but sometimes get error "An unexpected database error occurred. Please try again later xenforo",

    One days have 5 or 10 times that error or more.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Contact your host and ask them to check the server error log.

    Intermittent problems of that nature would suggest it is server related.
    johndaroza likes this.

Share This Page