SQL Database File Importing Error

Discussion in 'MySQL' started by takecare4ever, Feb 11, 2011.

  1. #1
    I am trying to import my sql database file to my godaddy shared hosting account. It gives following Error:

    #1044 - Access denied for user 'tec1104206581824'@'%' to database 'information_schema'

    Please guide me what to do...
     
    takecare4ever, Feb 11, 2011 IP
  2. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #2
    Do you have dump of database information_schema in the dump file? If it is so, remove it from the dump and try again.
     
    mwasif, Feb 11, 2011 IP
  3. takecare4ever

    takecare4ever Well-Known Member

    Messages:
    361
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    I have no idea about dump file, where it is?
     
    takecare4ever, Feb 11, 2011 IP
  4. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #4
    I mean mysql database file.
     
    mwasif, Feb 11, 2011 IP
  5. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #5
    Inside the .sql file you are trying to import, check for `information_schema` and ensure all references, and table creation / data insertion queries for that database is removed.
     
    mastermunj, Feb 12, 2011 IP
  6. srisen2

    srisen2 Peon

    Messages:
    359
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    you should either upload it via ftp and then restore it via ssh with a set mysql user and password or use phpmyadmin or give the .sql to your tech support to do this for you
     
    srisen2, Feb 14, 2011 IP
  7. sacx13

    sacx13 Active Member

    Messages:
    438
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #7
    information_schema is a MySQL admin table and probably you don't have root access to overwrite it. I presume you dont need this table. Just delete all the references to this table and uplaod the script/dump again

    Regards
     
    sacx13, Feb 25, 2011 IP