Thread: Correct syntax

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

    Join Date
    Sep 2000
    Rep Power
    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?

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

    Join Date
    Jul 1999
    Niagara Falls (On the wrong side of the gorge)
    Rep Power
    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, 10:57 PM
  2. syntax error : identifer 'Hole'
    By bootrecker in forum C Programming
    Replies: 2
    Last Post: February 2nd, 2004, 08:08 AM
  3. Replies: 0
    Last Post: January 6th, 2004, 07:32 PM
  4. syntax error
    By DQSJR in forum MySQL Help
    Replies: 2
    Last Post: December 31st, 2003, 01:28 PM
  5. filecopy - correct use of syntax
    By sir_drinxalot in forum Visual Basic Programming
    Replies: 3
    Last Post: November 27th, 2003, 06:40 PM

IMN logo majestic logo threadwatch logo seochat tools logo