Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    help question Moved servers and data base will not import any help?

    I am moving to a new server and I have fallow the how to in the zen cart facts but i keep getting this error when I import. Any ideas?

    Error

    SQL query:

    CREATE DATABASE `ms_store` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;

    MySQL said: Documentation
    #1044 - Access denied for user 'musicski'@'localhost' to database 'ms_store'

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Moved servers and data base will not import any help?

    If you have already created the database,

    then you need to remove the create database line from the top of the sql file

  3. #3
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: Moved servers and data base will not import any help?

    Yes I created a data base and then I droped the tables. how do I get rid of the create data base?

  4. #4
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: Moved servers and data base will not import any help?

    this is what I see

    -- Database: `ms_store`
    --
    DROP DATABASE `ms_store`;
    CREATE DATABASE `ms_store` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
    USE ms_store;


    do I take out everything after CREATE DATABASE

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Moved servers and data base will not import any help?

    remove this

    DROP DATABASE `ms_store`;
    CREATE DATABASE `ms_store` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
    USE ms_store;

  6. #6
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: Moved servers and data base will not import any help?

    Why is it when I import it it does not build any tables? it still shows no tables found?

  7. #7
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: Moved servers and data base will not import any help?

    when i import it says this


    Import has been successfully finished, 0 queries executed.

  8. #8
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: Moved servers and data base will not import any help?

    any ideas my shop is down right now and I really need to get it up and moving??? Please

  9. #9
    Join Date
    Apr 2006
    Posts
    413
    Plugin Contributions
    0

    Default Re: Moved servers and data base will not import any help?

    Look I'm no expert but this is what I do when changing servers without root access, just your standard old hosted site. From the original server I export the database using phpmyadmin, export it to suit the new servers version of mysql. Export it as sql, save it 1. structure and data (name this file as such with sql extension), 2. data only.

    Usually you can now just go to your new server, go to phpmyadmin, create the database, import sql file, use the same collation, and you should be good to go. Or if the structure is ok then empty the tables and import just the data.

 

 

Similar Threads

  1. v139g Cannot use the Sql install patch or import direct to data base
    By michelleodin in forum General Questions
    Replies: 1
    Last Post: 5 Jul 2014, 12:27 AM
  2. Importing New Template... What Data Base Issues Will I Have?
    By jeffis in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Mar 2011, 11:06 AM
  3. This will wipe any existing data. You are NOT in Upgrade mode!!!
    By Rugbythug in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 1 Aug 2010, 04:31 PM
  4. Moved Servers and site not working
    By ztotheetothen in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 19 Nov 2008, 01:27 AM

Posting Permissions

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