Mar
08
2006

Starting the Command Line MySQL client

For some reason, I had a hard time connecting to an external server through my command line client. I’ve done it before, but I had to dig up the manual to find the answer…

mysql -uusername -ppassword -hhostname

I’m sure that’s what I was doing but it wasn’t working… funny thing. Anyway, I’m posting this so that I can remember to read the article I linked to above.

Written by Aaron Wormus in: Cookbook, MySQL, Note-to-Self |

1 Comment »

  • I personally prefer the
    >mysql -u user -p -h host -D db

    But that’s me

    Comment | 10/3/2006

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes