SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Sep 2000
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mysql - Beginner Questions - Viewing Tables

    This should all be very basic according to tutorials i've read...
    I am using the command SHOW TABLES in the command line, but constantly getting errors. I've tried this command in every folder...'

    I've posted the error here, that can be viewed.. www.meztec.com/mysql_Problem.gif
    ..This example shows it w/out a semi-colon, but I have tried that also.


    Any help would be great

  2. #2
    Former Staff Member silver trophy Adam P.'s Avatar
    Join Date
    Apr 2001
    Location
    San Francisco
    Posts
    3,288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm... I'm not totally positive, but it may have something to do with the "data>" part. I think that it's only supposed to be "mysql>" when it's ready to recieve commands. I'm not sure though
    SPF Mentor/Advisor 2001-2003
    SPF Designer of the Year 2002
    SPF Graphic Designer of the Year 2003
    AdamPolselli.com

  3. #3
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'll need to login to the mysql console before issuing mysql commands.

    type mysql -u username -p from the same place you were, or else cd into the mysql bin folder and issue it.
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


Bookmarks

Posting Permissions

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