connecting to mysql from cmd

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Obadiah
Forum Regular
Posts: 580
Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:

connecting to mysql from cmd

Post by Obadiah »

i had some notes on this and i cant seem to find them can anyone show me how its done?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Call 'mysql'. The -u flag lets you specify the user, the -p specifies whether to prompt for a password or not.

If you in linux, just call 'man mysql' & read the man pages - it should all be there.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply