Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    1

    Default URGENT !!! My SQL Error - Please

    I have some customers in my server that having some problems in MySQL Commands using -bash-2.05b$

    I see this massege every time when I enter Mysql Command in Shell :

    bash-2.05a$ mysql -uUSER -pPASS XXXX <xxxx.sql

    ERROR 1064 at line 63266: 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 ''[ALIGN=CENTER][SIZE=4]\r\n\r\nåáÇ Ýíß ÇÎæí áæÑäÓ\r\n\r\n\r\nÇá

    i'm tried some solutions without any result

    HOW CAN I FIX IT ??

  2. #2
    Member GeekPatrolMille's Avatar
    Join Date
    Mar 2004
    Location
    McKinney, Texas, USA
    Posts
    84

    Default

    I am guessing you can simply log in to the mySQL server by leaving the redirect off...

    $ mysql -uUSER -pPASS XXXX

    If this gives you the mySQL> prompt then you know it is not a login issue which I do not think you are having but want to clear the issue just in case.

    If this works then you know the problem is going to be in the xxxx.sql file being used on the command line.

    You could also try to import the xxxx.sql file via phpMyAdmin through a web browser instead of the command line. The only issue with this option will be the file size. I think 50MB is the limit for the phpMyAdmin method and a really fast connection.

    Hop this helps you in some way or another...
    -greg

Similar Threads & Tags
Similar threads

  1. Sql Error
    By st0kie_jas in forum Database Discussions
    Replies: 2
    Last Post: 06-25-2009, 09:02 AM
  2. My sql error
    By rootuser in forum Database Discussions
    Replies: 4
    Last Post: 07-02-2005, 06:35 AM
  3. My sql error
    By rootuser in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-02-2005, 06:35 AM
  4. URGENT !!! My SQL Error - Please
    By alkaleej in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-22-2004, 05:05 PM
  5. SQL Users Error
    By n2972s in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-19-2003, 07:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube