table stays LOCKED with import of sql dump

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Eng65
    New Member
    • Mar 2008
    • 2

    table stays LOCKED with import of sql dump

    My host went out of buisness, so i ended up with a load of Sql Dumps.
    The upload of my site went fine until i tried import the Sql Dump. All i am getting now:

    LOCK TABLES `PLD_CATEGORY` WRITE ;
    MySQL said:
    #1044 - Access denied for user @ Db...
    Some guy suggeted removing the "LOCK TABLE" on the Sql file, but this already set to "UNLOCK" TABLES.

    I think it is a permissions thing but i am not sure?

    Appreciate some advice.
    Thank you
    Eng65
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Welcome to The Scripts!

    Please remember to provide a meaningful Title for any threads started (see the FAQ entry Use a Good Thread Title).

    This helps to ensure that other members, and also the general public, will have a better chance of finding answers to any similar questions.

    MODERATOR
    Last edited by ronverdonk; Mar 6 '08, 11:56 AM. Reason: welcome

    Comment

    • amitpatel66
      Recognized Expert Top Contributor
      • Mar 2007
      • 2358

      #3
      Originally posted by Eng65
      My host went out of buisness, so i ended up with a load of Sql Dumps.
      The upload of my site went fine until i tried import the Sql Dump. All i am getting now:

      LOCK TABLES `PLD_CATEGORY` WRITE ;
      MySQL said:
      #1044 - Access denied for user @ Db...
      Some guy suggeted removing the "LOCK TABLE" on the Sql file, but this already set to "UNLOCK" TABLES.

      I think it is a permissions thing but i am not sure?

      Appreciate some advice.
      Thank you
      Eng65
      This access denied might be because some other session might have locked the table before you could and unles that session executes a ROLLBACK or COMMIT, the table will not get released.

      Comment

      • Eng65
        New Member
        • Mar 2008
        • 2

        #4
        Thanks for your reply "Roll Back" "Commit" I am not to sure what you mean with this friend? Could you please be more specific.

        Thank You
        Regards,
        Eng65
        We all have to start some where, agree? I know you would

        Comment

        Working...