Migrating Data from One Script to a New one can it be done

Discussion in 'MySQL' started by exodia, Mar 13, 2011.

  1. #1
    The other day my developer told me that its impossible to migrate database info like passwords and usernames from one script to another one (a newly developed one).I would like to know if he was telling the truth.
    Thanks
     
    exodia, Mar 13, 2011 IP
  2. carleisenstein

    carleisenstein Peon

    Messages:
    253
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think you probably need to explain in more detail what you're trying to do? If your data is stored in a database then it should be accessible from any part of your website - whatever language it's written in. However - there might be factors such as encryption or hashing that make it harder to acheive.
     
    carleisenstein, Mar 13, 2011 IP
  3. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #3
    It usually comes down to how the password is hashed. If you know the hashing mechanism for the passwords, it is usually not a problem. If you don't know how the password that is stored in the database is generated, then it's probably not possible. There will be no way to authenticate a user.
     
    jestep, Mar 15, 2011 IP
  4. exodia

    exodia Well-Known Member

    Messages:
    160
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    135
    #4
    Thanks for the response
     
    exodia, Mar 15, 2011 IP