LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2013, 10:58 PM   #1
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Rep: Reputation: Disabled
db file size exceeds error in phpMyAdmin 3.5.7


Hello all,

i have installed centos 6.3 on a web server and installed phpMyAdmin 3.5.7 for the database.

The problem is i was trying to import a db file for one of the websites and it said,cannot upload as the db file is large n crosses the phpMyAdmin limit..

Therefore i even changed the settings in php.ini file but it gave the same error. So can anyone tell me what could be the reason and what should i b doing?
 
Old 03-12-2013, 12:07 AM   #2
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 51
Have you changed following attributes in php.ini?
post_max_size
&
upload_max_filesize

When you try to import database in phpmyadmin, what is the filesize limit there?
Beside browse button ((Max: ) )

What is this attribute in your my.cnf
max_allowed_packet=128M under [mysqld]
Increase this size. Restart apache and mysql and try again.
 
Old 03-12-2013, 01:39 AM   #3
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
yes i did for php.ini but then in my.cnf there isnt option like 'max_allowed_packet'..
 
Old 03-12-2013, 03:09 AM   #4
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 51
Add this line under [mysqld]
max_allowed_packet=128M
Restart mysql and apache.
Try again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] EXT4-fs: bad geometry: block count (large number) exceeds size of device Anna1987 Linux - Newbie 9 02-26-2013 02:30 PM
[SOLVED] HTTP 400 - Size of a request header field exceeds server limit dcarrington Linux - Server 5 05-16-2012 10:06 AM
core dump file size exceeds limit with ulimit -f unlimited. initpidzero Linux - Software 0 07-28-2009 02:08 AM
Sending ICMP messages of type 3 when packet size exceeds MTU of the interface nmb1081 Linux - Networking 1 04-13-2008 10:14 PM
Up2date - package size exceeds free space The_Watcher Linux - General 6 11-18-2007 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration