Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    31

    Unhappy mysql db size/timer (for timeouts)

    this is just killing me and i got putty and still can figure this out. the mysql is guess by default is set for 300 seconds for a sql db import. the limit is 50mgs. regardless, even a 5mg import file times out. i had a large db to populate one time for client.

    i broke it down into abou 35mg checks, hahaha based on the 50mg limit. we it just doesnt matter when the timer limit for import is still at 300 SECONDS. i just wanna know what kind of sql db that's 50mg could ever import in 300 seconds!! lol

    i'm in a bind big time. i'm cutting and pasting the portions of these databases slowly into the sql dump window.

    there just HAS to be a way to set that import timer to like an hour. i'm the only one show uses it and just next these one time databases populated with losing my hand and wrist.

    Can anyone our ther help me please. i'm not very putty savvy, but smart.

    thanks,

    kerri

  2. #2
    Member
    Join Date
    Oct 2004
    Posts
    7

    Default

    Which file are you editing? my.cfg? you may also want to adjust your php this is most likely the problem.

  3. #3
    Member
    Join Date
    Sep 2004
    Posts
    529

    Default

    if you have ssh access, why not just import the entire database using the command 'mysql' on the commandline? There should be no timeouts using that and it's much faster.

  4. #4
    Member
    Join Date
    Oct 2004
    Posts
    31

    Unhappy New to these large imports and putty.

    i will try to find the info for mysql command for Import to set the correct syntax. i have a dedicated server and several domains which all have sql databases stored "somewhere"

    i'll check this out. thanks.

    and i was using at mysql> SET GLOBAL delayed_insert_timeout=3600;

    it was in seconds for 300, but it never changed. i even went to service mysql restart

    just didn't stick at 3600 seconds.

    kerri
    Last edited by kerriritter; 10-25-2004 at 11:33 PM. Reason: misspell

  5. #5
    Member
    Join Date
    Oct 2004
    Posts
    31

    Question sql command line import of db

    i find the syntax listed in the manual but still getting error is say this db xxxxx_xxx this file xxxxx_xxx.sql. it's not compressed or anything.

    from the mysql> prompt what exactly should i type in to create the database. then how to make sure it is setup for the correct website on the dedicated server.

    thanks for any help.

    kerri

  6. #6
    Member
    Join Date
    Jun 2003
    Posts
    177

    Default

    do as Dezignguy says, Import the entire file to the server, then from the command line import the db. you are not going to have any success uploading this database otherwise, been there done that

  7. #7
    Member
    Join Date
    Oct 2004
    Posts
    31

    Default have file on server

    i have the entire file on the server and just need to know the command to import the database (create new one or whatever). i'm very new to this and need explicit help. the myphpadmin is not worth too much for big files.

    so i login to root, the mysql> now what something like import newdb_name from what path to the sqldb.sql file. the file is in one of the domains.

    thank a lot for the assist.

    kerri

Similar Threads & Tags
Similar threads

  1. pkgacct - Check load & MySQL to prevent MySQL timeouts.
    By driverC in forum Feature Requests for cPanel/WHM
    Replies: 2
    Last Post: 04-03-2010, 03:32 PM
  2. MySQL database size
    By jacobcolton in forum New User Questions
    Replies: 1
    Last Post: 12-16-2009, 06:14 AM
  3. mysql size problem
    By tedivm in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-25-2007, 09:35 PM
  4. mysql help with setting timer for import limit
    By kerriritter in forum New User Questions
    Replies: 0
    Last Post: 10-25-2004, 03:25 PM
  5. mysql timeouts
    By DuncanMcLord in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-13-2002, 06:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube