From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JHiQe-00084H-32 for garchives@archives.gentoo.org; Wed, 23 Jan 2008 16:26:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19CE9E0310; Wed, 23 Jan 2008 16:26:18 +0000 (UTC) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by pigeon.gentoo.org (Postfix) with ESMTP id 9FD65E0310 for ; Wed, 23 Jan 2008 16:26:17 +0000 (UTC) Received: by nf-out-0910.google.com with SMTP id f5so564733nfh.26 for ; Wed, 23 Jan 2008 08:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6yFhqikDJjKQ0LOaAWUC4yFiAAOVEZerq/qGu40ZqEA=; b=JHOkJ5DVGXqW+zip4yRTGJN3zuecahLkUrpT/OJslYsB0sbZKQIeCrhlgITQDQsasY0X+dFF82kNy6/Are1ba/nUW9sxVUJKYEwXZ31wLq+l3AdRI6g89QVAkbuUnZlDqGgsNIIX+T0dJSCKqhDwbrz6NV7tjQhyjjdNVA3aKPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kjtjceVUWFhMQby6sJk81NRI0m4WToHSH4KdinOzIF8F2Z1+3DGC1vtVFlCb+7Ktaz77ais6glZOF1PDjcGZ16ThtJtLe0FPOr6O2p3fcNPrvMjw6TXhUBmA5m9eSS0zgccmTCiKfhImGcb5TrK2j9jUHWsBb+qYP6bf/0DZkaY= Received: by 10.78.193.19 with SMTP id q19mr13513417huf.69.1201105576441; Wed, 23 Jan 2008 08:26:16 -0800 (PST) Received: by 10.78.97.19 with HTTP; Wed, 23 Jan 2008 08:26:16 -0800 (PST) Message-ID: Date: Wed, 23 Jan 2008 08:26:16 -0800 From: "James Ausmus" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Any one using www-apps/online-bookmarks In-Reply-To: <87hch4sirl.fsf@newsguy.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <878x2jyooe.fsf@newsguy.com> <87ejc9eixf.fsf@newsguy.com> <200801222123.06899.shrdlu@unlimitedmail.org> <87zluxcydi.fsf@newsguy.com> <87hch4sirl.fsf@newsguy.com> X-Archives-Salt: 4ecea2e0-bebb-46c1-a565-241b4a95839f X-Archives-Hash: 968004fce93c6bf38e0f3c39ebe470d3 On Jan 23, 2008 6:45 AM, wrote: > > ls -al /var/lib/mysql > > drwx------ 2 mysql mysql 1752 Jan 22 15:55 mysql > drwx------ 2 mysql mysql 48 Jan 22 15:55 test > > It struck me odd that /var/lib/mysql has another directory inside with > the same name... but that was how the previous install looked as well. > Yeah - the sub-dirs under /var/lib/mysql are the individual named database schemas, and mysql uses the "mysql" schema to store the info about users, databases, privileges, etc., which brings us to the next point: > > Also, what do you get in the MySQL console if you do a: > > show databases; > > mysql> show databases; > +--------------------+ > | Database | > +--------------------+ > | information_schema | > +--------------------+ > 1 row in set (0.03 sec) This is *very* abnormal. You should have *at least* seen 3 items: information_schema, mysql, and test. The fact that nothing but the "meta" database shows up (AFAIK, information_schema isn't actually a DB in MySQL, it's just metadata about the server - kind of like the /proc filesystem in *nix). So, this leads me to think that maybe the MySQL service had not been restarted since the last time you emerged mysql? This would explain why cleaning the log dir and then restarting MySQL fixed it... > > > Also, try doing the create database procedure as previously outlined, > > then do a tail -n100 /var/log/mysql/mysql.err and > > /var/log/mysql/mysqld.err and /var/log/mysql/mysql.log - anything > > relative showing up in there? Maybe post the output of the above > > commands, as well as (tbz2'd, if they're large) attaching the > > /var/log/mysql/* files - might help us track this down... > > My first impulse was to look there as well but strangely nothing was > being written about those errors. So in response to your post I > thought I would clean out those logs with rm -f /var/log/mysql/my* > > Then restart mysql. > > Surprisingly after doing those steps. It now works. > > Apparently you've backhandedly fixed it simply with a request for > information... : ). Heh. Stranger things have happened, but not *too* much stranger... ;) > > Now smooth as silk: Awesome, glad it's working for you! > > Reminds me of a comment a neighbor made yrs ago. > > I was a sort of neighborhood fixit guy. Pretty handy with my hands > from a lifetime of bluecollar work and being raised as a kid in the > country. > > Neighbors would call me when their fixit chores got out of there > league. This one neighbor, on having me come over for an electrical > problem, swore things at his house started just working when he called > me to come over... said they'd see me coming and just know they'd have to > work shortly. > > That appears to be what happened here. Yeah, I've seen that happen quite a bit with computers - someone is having a problem (consistently, too), they call in the computer tech, and it starts working perfectly as soon as the tech is there... :) A hypothesis of mine is that (at least some of the time), as soon as the computer tech is there, and asking to see the problem duplicated, the user focuses more on what they are actually doing, and in doing so, performs the action in the correct manner... Possibly... :) -James -- gentoo-user@lists.gentoo.org mailing list