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.



March 10th, 2006 at 1:09 am
I personally prefer the
>mysql -u user -p -h host -D db
But that’s me