Unix Technical Forum

importing mysql data from text file format [Please help me urgent need]

This is a discussion on importing mysql data from text file format [Please help me urgent need] within the MySQL forums, part of the Database Server Software category; --> hi to all i am having one data.sql which occupied 50 MB when i trying to upload it on ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 10:49 AM
mohamed.musammil@gmail.com
 
Posts: n/a
Default importing mysql data from text file format [Please help me urgent need]

hi to all
i am having one data.sql which occupied 50 MB when i trying to upload
it on my website .
i am getting a error message Timed out.the data.sql has 3,00,000
records. please help me
explain how i can upload

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 10:49 AM
subtenante
 
Posts: n/a
Default Re: importing mysql data from text file format [Please help me urgent need]

On 14 May 2007 06:14:38 -0700, mohamed.musammil@gmail.com wrote:

>hi to all
>i am having one data.sql which occupied 50 MB when i trying to upload
>it on my website .
>i am getting a error message Timed out.the data.sql has 3,00,000
>records. please help me
>explain how i can upload


Are you sure the problem comes from MySQL ?
What tools do you use ?
Exactly what error code do you get ? (can you copy/paste it ?)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 10:49 AM
lark
 
Posts: n/a
Default Re: importing mysql data from text file format [Please help me urgentneed]

mohamed.musammil@gmail.com wrote:
> hi to all
> i am having one data.sql which occupied 50 MB when i trying to upload
> it on my website .
> i am getting a error message Timed out.the data.sql has 3,00,000
> records. please help me
> explain how i can upload
>


if you're on the command line trying to import records from a file,
try this:

in my.ini or my.cnf file
Add something like somewhere inside off it :

max_allowed_packet=16M (or a larger number if need be)

and restart your server.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:51 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com