How To Deal With Error #1064?

Discussion in 'Databases' started by saadi123, Jun 28, 2010.

  1. #1
    I am using a free web hosting service named as 000a.biz.
    While uploading/importing text files in my database, I keep on receiving Error #1064. I want to ask that how to deal with this error. My text files contain HTML tags too.
     
    saadi123, Jun 28, 2010 IP
  2. bvsonline

    bvsonline Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The error 1064 occurs due to Mysql version mismatch,because differnt versions have differnt
    reserved words,which if used by a previous version causes the error to occur.

    Let me know how you upload/import text files to/from your database.
     
    bvsonline, Jun 28, 2010 IP
  3. saadi123

    saadi123 Well-Known Member

    Messages:
    196
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    I just click the "import" button and guide the server towards the text file in my computer and then hit the "GO" button. That's it.

    I know the problem is due to the reserved words. That's what I am asking that how to make sure that MYSQL differentiates between the text file's material and the reserved words used in SQL query. Because its too impractical to replace all the words in the article which are similar to the MYSQL reserved words.
    I hope I am not making this too complicated.
     
    saadi123, Jun 28, 2010 IP
  4. bvsonline

    bvsonline Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi,

    Are you using PHPmyAdmin to manage your databases? Is your database is hosted in a Linux environment? If it is, ask your host to take a backup of your database using mysqldump command. And then upgrade your database.
     
    bvsonline, Jun 29, 2010 IP
  5. saadi123

    saadi123 Well-Known Member

    Messages:
    196
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #5
    Yeah I am using phpmyadmin but its in vista environment. Any way I'll see what I can do.
     
    saadi123, Jun 29, 2010 IP