Results 1 to 3 of 3
  1. #1
    Join Date
    May 2003
    Posts
    847

    You have an error in your SQL syntax

    Hi

    When I'm trying to put sql file in DB it show error

    mysql -u DBuser -p DBname <DB.sql

    after putting the password it show this error

    ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '’žI
    d
    n
    m
    1
    9(/'DDG

    any idea ??

    mysql 4.1
    with old style (4.0) passwords

  2. #2
    Join Date
    Sep 2004
    Location
    Dallas, TX
    Posts
    367
    MySQL is trying to tell you there is a syntax error in the DB.sql file on line 1. Without knowing what line 1 of DB.sql is, there's no way to tell you what the problem is.
    I N T H R I V E
    when you can't afford downtime
    [email protected]
    High Availability Web Hosting

  3. #3
    Join Date
    Aug 2004
    Posts
    37
    If you wish, you can send me the first 3 lines of your sql file (without any personal data) i fix it for you.

Posting Permissions

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