remote server

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
lexx
Forum Newbie
Posts: 21
Joined: Sat Jun 08, 2002 10:30 pm

remote server

Post by lexx »

How do you connect to a semote mysql server in mysql console?
User avatar
haagen
Forum Commoner
Posts: 79
Joined: Thu Jul 11, 2002 3:57 pm
Location: Sweden, Lund

Post by haagen »

Try

mysql -h your.host.com -u user -p database

then you'll be ask for the password.

Please read the manual for more info (man mysql)
Post Reply