Mysql Viewer

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Mastermind
Forum Commoner
Posts: 36
Joined: Thu Mar 10, 2005 2:38 am
Location: CDO,Philippines
Contact:

Mysql Viewer

Post by Mastermind »

How to view your mysql databases and fields using DOS Prompt
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

MySQL has a command line tool found in the bin directory.
on widows this is usually in:
c:\MySQL\bin
or
c:\program files\mysql server %version%\MySQL\bin
I don't know where it resides on *nix

once there just log in using mysql -u username -p

it will prompt you for a password and whola, you can start running queries.

to change to your database, just use "use %database%;"
Post Reply