Date: Sun, 4 Jan 2009 15:09:39 -0500 From: stan <stanb@panix.com> To: freebsd-questions@freebsd.org Subject: Re: PHP setup question Message-ID: <20090104200939.GB14428@teddy.fas.com> In-Reply-To: <20090104190044.GA17603@the-grills.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090104200939.GB14428>