[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RAQ4 MySQL Connection
- Subject: Re: [cobalt-users] RAQ4 MySQL Connection
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Tue Apr 23 08:54:03 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Koh Puay Hwee" <phkoh@xxxxxxxxxxxxxxxx> wrote:
> Hi, How can I setup the RAQ4 to connect to another server which is
> running MYSQL database ?
If you're using the MySQL commandline program you do:
mysql --host=host.domain.tld -u user <database_name> -p [supply password at
prompt]
If you're using a programming language it depends on the programming
language you're using. In your code you need to specify the hostname of the
other server and the port if MySQL isn't running on port 3306 on the other
server. But there's nothing special to setup on the RaQ4 (or any other
server for that matter) to allow it to connect to MySQL on another server so
long as you don't have a firewall blocking outbound access to the MySQL
port.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/