SunQuest
           Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old January 1st, 2003, 10:14 PM
skinfreak skinfreak is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 skinfreak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Database restore problems - phpMyAdmin

Hi,

I need to import an SQL file that is 3MB in size. I've tried using phpMyAdmin to import it using the SQL tab but get a server error. I cannot get telnet access and so my last hope is to use the $cfg['UploadDir'] string. But how do i use this exactly? I have ftp'd the file to a directory in the phpMyAdmin foolder on the web called backup.
I tried this command in the query box:
$cfg[ 'backup']
and get this error:
************************************************** ********
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unclosed quote @ 6
STR: '
SQL: $cfg[ 'backup']
Warning: Cannot index a string index in ./libraries/sqlparser.lib.php3 on line 1081
Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ./header.inc.php3 on line 27
Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ./header.inc.php3 on line 28
Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ./header.inc.php3 on line 29
Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ./header.inc.php3 on line 30
Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ./header.inc.php3 on line 32
Database db38851839 running on db51.oneandone.co.uk
Error
MySQL said:
Query was empty
******************************
What am I doing wrong? I've tried splitting up the file into smaller chunks, but the chunks that can get uploaded are REALLY small...10Kish....it would take all day to upload that. I have no telnet access either. Help!!! Thanks

John

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > Database restore problems - phpMyAdmin


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway