LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-11-2008, 02:14 AM   #1
sanjee
Member
 
Registered: Jul 2008
Posts: 129

Rep: Reputation: 15
Arrow Import problem in Linux PhpMyAdmin


Problem related to import any of .sql or other files in PhpMyAdmin .File size is not an issue here . From shell mode there is no problem with .sql file impoting .But from PhpMyAdmin its not importing . I have disabled Selinux also .
During file import error is showing " Bad Request
Your browser sent a request that this server could not understand. "
Please help .
 
Old 12-11-2008, 02:54 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hmm couldn't this happen if you have file uploads disabled in your running PHP instance? Even though PHPMyAdmin will attempt to do a file upload, it will be impossible if the setting is turned off in PHP.

That can be why console-mode import works, but PHPMyAdmin's internal import functions don't.
 
Old 12-11-2008, 04:46 AM   #3
sanjee
Member
 
Registered: Jul 2008
Posts: 129

Original Poster
Rep: Reputation: 15
In php.ini the uploading option is 'on' . File size is also under limit . Is there anything I m missing in httpd.conf or something . Please suggest .
 
Old 12-12-2008, 01:12 AM   #4
sanjee
Member
 
Registered: Jul 2008
Posts: 129

Original Poster
Rep: Reputation: 15
If I manually copy the create table portion like .....>>> " CREATE TABLE IF NOT EXISTS `table_copy` (

)" ..........>>> then table is created in phpMyAdmin . But whether copy the total content of .sql file .But total file size is under limit . Its showing "Bad request" error and not creating any table . Even its unable to import a .sql file . Error same "Bad request" . Please help......

Last edited by sanjee; 12-12-2008 at 01:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
phpmyadmin/mysql Import (Max: 2,048KB) txt size dave`2005 Linux - Software 2 06-15-2006 06:41 AM
phpMyAdmin problem filsed Linux - Software 1 07-15-2005 12:24 AM
Import sys ?bash: import: command not found joirnange Linux - Newbie 4 12-28-2004 11:33 PM
phpMyadmin problem GiaCo Linux - Newbie 2 10-20-2004 10:16 AM
phpMyAdmin Import data from file chrisbutts Linux - Newbie 1 04-22-2004 02:49 PM

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

All times are GMT -5. The time now is 02:25 AM.

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