From owner-freebsd-security Tue Apr 18 23:36:23 2000 Delivered-To: freebsd-security@freebsd.org Received: from ducky.nz.freebsd.org (chilled.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 8A0A437B58B for ; Tue, 18 Apr 2000 23:36:20 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id SAA21329 for ; Wed, 19 Apr 2000 18:36:18 +1200 (NZST) Message-Id: <200004190636.SAA21329@ducky.nz.freebsd.org> From: "Dan Langille" Organization: langille.org To: freebsd-security@freebsd.org Date: Wed, 19 Apr 2000 18:36:05 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: using mysql over ssh Reply-To: dan@langille.org In-Reply-To: X-mailer: Pegasus Mail for Win32 (v3.12b) Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I want to access a mysql database remotely. I've had success with the > following approach: > > ssh user@mydomain.org /usr/local/mysql/bin/mysql -uuserid > -ppassword dbname < mysql.sql Please note: the above code resides within a script and I'm not running this from the command line. -- Dan Langille [I'm looking for more work] http://www.langille.org/ | http://www.unixathome.org/ http://www.racingsystem.com/ | http://www.freebsddiary.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message