Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

500 mysql error

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
vestacp89
Posts: 83
Joined: Thu Aug 14, 2014 11:04 am

500 mysql error
  • Quote

Post by vestacp89 » Mon May 25, 2015 6:10 pm

I try upload via phpmyadmin 50mb .sql file and after load i get
500 error,
I edit php.ini , edit and incrase limit on 128mb

Code: Select all

post_max_size = 128M
upload_max_filesize = 128M
I use centos 6, anyone ?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: 500 mysql error
  • Quote

Post by skurudo » Mon May 25, 2015 9:19 pm

vestacp89 wrote:I use centos 6, anyone ?
What's about nginx client_max_body_size?
What's in apache/mysql error log?
Top

eduzro
Posts: 31
Joined: Wed Apr 08, 2015 10:11 am

Re: 500 mysql error
  • Quote

Post by eduzro » Tue Jun 02, 2015 10:46 pm

It happens the same to me when importing a Drupal database of 8MB with phpMyAdmin. First the file is uploaded correctly and then, it keeps loading (I suppose that is executing queries) and finally it redirects me to the 500 error page. Even if I split the database and import a few tables, it fails when importing 5MB of tables. Taking a look at the cpu usage, it des not grow too much; if it´s at 0.5% it goes to 2% while doing the import.

I have been trying to fix this for hours... any idea?

Thanks!

I also use CentOS 6

In php.ini I have:

post_max_size = 20M
upload_max_filesize = 20M

in my.conf

max_allowed_packet=500M
wait_timeout=600
interactive_timeout=500
long_query_time=50

Just in case, in httpd.conf I have

Timeout 600
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 10
Top

Teo
Posts: 97
Joined: Mon May 11, 2015 9:17 am

Os: CentOS 6x
Web: apache + nginx
Re: 500 mysql error
  • Quote

Post by Teo » Thu Jun 04, 2015 1:59 pm

same to me as i posted here: http://forum.vestacp.com/viewtopic.php?f=11&t=8353
Top

eduzro
Posts: 31
Joined: Wed Apr 08, 2015 10:11 am

Re: 500 mysql error
  • Quote

Post by eduzro » Fri Jun 05, 2015 5:15 pm

It seems many of us are having that problem. When importing, if I check CPU, it´s very low (3%-4%)... can it be related to the issue? I tried many things and don´t know where to look at. Many people imports very big databases with no problems, so a 8MB database like mine should be ridiculous. I use a dedicated kimsufi server (the one with 16GB Ram)... so... no idea.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password