Results 1 to 8 of 8

Thread: Database Dummy here...

  1. #1
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default Database Dummy here...

    Hey guys...

    I am a total database dummy........ but I am trying to import the zipcode data into the database.
    First I broke up the over 10MB file into four smaller files. They are all under 3 MB now.
    I go into phpmyadmin and click on "import".... then I browse for the first file.... and select...... then click "go".....
    I am getting a 404 in phpmyadmin when I do this....... am I doing something wrong or do you think this might be server error?

    Thanks,
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  2. #2
    lansin
    Guest

    Default

    you should import them with ssh.....i finally figured this out after doing 3 or 4 fresh installs of dolphin and importing the zips through phpmyadmin each time......it takes forever.....with ssh it's under 2 minutes with no breaks....i typically unzip the file.....upload it to my server.....go to the folder where the .sql file is.....then use this
    Code:
    $ mysql -u username -p -h localhost databasename < data.sql
    it will then ask for your password for you database.....think about it for a couple of minutes....then you'll go back to the command line.....go to your db and make sure that the files were imported.....if you run into any troubles just post again and i'll see if i can help you out.

  3. #3
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default Ugh...... no ssh....

    Thanks for your reply....
    I am with hostgator....... and have to jump through hoops to get ssh.

    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  4. #4
    lansin
    Guest

    Default

    well....then make the sql files as small as possible....and check the box to allow interruption if you come close to a timeout......i found that if i was anywhere near the file size limit it would give me the same error you're getting....sorry i can't be more help

  5. #5
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default Well...... I got it.... LOL

    Well..... I got it guys...

    I went in and copied the sql file in chunks..... as large as I could possibly go without sending the unit into a funk... and I pasted them into the query window!! What a huge undertaking...... But its done now!!

    The means was a bit archaic...... but effective nonetheless...... hehehe.

    Thanks for your support
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  6. #6
    lansin
    Guest

    Default

    I was just helping someone with an upgrade.....ran into the same problem you were having with phpmyadmin.....they couldn't get ssh either......before trying the same process you did....i decided to switch browsers......the sql file uploaded with no problem.....almost immediately......for some reason though i kept gettting the 404 errors with ie......sorry I didn't have this answer a little sooner for you.....but hopefully it will help you and others in the future......George

  7. #7
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default Hey George

    Hey George.....

    Thanks for the input.... I did try with other browsers. I tried with Crazy Browser and firefox. I think that I was screwing up with the size of the sql files. I didnt know how big or small to make them... and I think that the timeouts were giving me the 404s. But... I am guessing nonetheless. LOL.
    Thanks again,
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  8. #8
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    I use this from SSH - and it works well:

    to dump database :

    Code:
    mysqldump -udbuser -pdbpassword -a -c -e -Q  dbname  > dump.sql
    to import database :
    Code:
    mysql -D -udbuser -pdbpassword dbname  < dump.sql
    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dummy UNprogrammer needs help with code
    By HikeMaster in forum General Issues, Comments, Questions
    Replies: 3
    Last Post: 03-05-2008, 11:02 AM
  2. Another Database Dummy here
    By nesika in forum Database
    Replies: 0
    Last Post: 09-27-2007, 11:26 AM
  3. Database access error after database upload
    By sanne in forum Database
    Replies: 1
    Last Post: 06-03-2007, 06:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •