From owner-freebsd-questions@FreeBSD.ORG Sun Jan 4 20:09:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53DF11065670 for ; Sun, 4 Jan 2009 20:09:41 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 0DE318FC12 for ; Sun, 4 Jan 2009 20:09:41 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id 503AE3480E for ; Sun, 4 Jan 2009 15:09:40 -0500 (EST) Received: from teddy.fas.com (c-76-26-198-188.hsd1.sc.comcast.net [76.26.198.188]) by mailbackend.panix.com (Postfix) with ESMTP id 3F1F91EDCF for ; Sun, 4 Jan 2009 15:09:40 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1LJZI3-0003zS-00 for ; Sun, 04 Jan 2009 15:09:39 -0500 Date: Sun, 4 Jan 2009 15:09:39 -0500 From: stan To: freebsd-questions@freebsd.org Message-ID: <20090104200939.GB14428@teddy.fas.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090104190044.GA17603@the-grills.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 14:30:26 up 237 days, 20:52, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Re: PHP setup question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2009 20:09:41 -0000 On Sun, Jan 04, 2009 at 01:00:44PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 11:51:15PM -0500, stan wrote: > > > > Looking at the doc, you referenced, it appears that I should be able to > > connect to beachcave.net/install.php > > > > Doing so resluts in: > > > > The requested URL /install.php was not found on this server. > > > > No, you should be able to access: > http://beachcave.net/ampache/install.php > > I just did. > Thanks, I supose I had a typo somewhere. I apreciate all the help with this. Ubfortunately I am still confused. It appears that there are 3 levels of username/password involved here: 1. OS 2. MySQL 3. Ampache Is this correct? In any case, this is where I am. Loged in as the OS root user, I am able to atach to Mysql and I have run the following commands: create databse ampache ; use ampache ; GRANT ALL ON ampache to ampache_user ; Is this correct? So I should have a Mysql user called ampache_user that can access the ampache database, correct? So. I am at step 3 in the web based setup, and trying to proced to step 3, but I get an error about "Database Selection Failure Check Existance of ampache " The /usr/local/www/ampache/config directory permisons look like this: drwxr-xr-x 2 www www 512 Jan 3 23:47 config Apache should be running as www, if I am not mistaken. after re-reading the MySQL docs, I changed the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' ; and now when I try to go to step 3 I get: Error: Config file not found or Unreadable Can you please tell me what I am doing wrong now? Sorry for my ignorance in the use of MySQL etc. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.