Thread: Correct syntax

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    2
    Rep Power
    0
    Hello all,

    I'm trying to import the .sql file into the 'catalog' database. Why is the following syntax incorrect in a windows environment?

    >mysql catalog <./mysql_catalog.sql

    I'm getting an access denied error. What needs to be changed?

    -E
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    You haven't specified a username/password combination so mysql is denying access:

    mysql -u Username -pPassword catalog < mysql_catalog.sql

    BTW, you don't need the ./ when using DOS

Similar Threads

  1. is the following correct??
    By 010585Y in forum ASP Programming
    Replies: 1
    Last Post: February 8th, 2004, 11:57 PM
  2. syntax error : identifer 'Hole'
    By bootrecker in forum C Programming
    Replies: 2
    Last Post: February 2nd, 2004, 09:08 AM
  3. Replies: 0
    Last Post: January 6th, 2004, 08:32 PM
  4. syntax error
    By DQSJR in forum MySQL Help
    Replies: 2
    Last Post: December 31st, 2003, 02:28 PM
  5. filecopy - correct use of syntax
    By sir_drinxalot in forum Visual Basic Programming
    Replies: 3
    Last Post: November 27th, 2003, 07:40 PM

IMN logo majestic logo threadwatch logo seochat tools logo