Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54692 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88468 invoked from network); 18 Aug 2011 15:55:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Aug 2011 15:55:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike@rile.ca; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mike@rile.ca; sender-id=unknown; domainkeys=good Received-SPF: error (pb1.pair.com: domain rile.ca from 208.113.200.5 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mike@rile.ca X-Host-Fingerprint: 208.113.200.5 caibbdcaaaaf.dreamhost.com Windows 98 (1) Received: from [208.113.200.5] ([208.113.200.5:42205] helo=homiemail-a58.g.dreamhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/30-21097-0E53D4E4 for ; Thu, 18 Aug 2011 11:55:13 -0400 Received: from homiemail-a58.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTP id CD3D37D8060; Thu, 18 Aug 2011 08:55:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=rile.ca; h=reply-to:from:to:cc :references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=rile.ca; b=ER4 xW6h9HmaR2cGTXdMcyv1G+3yF1ntpclaV1wzkUW8GzKG4ESetAvJ3kO9FeRxDkkn xkzmAlPKFD1dx+FY81CB7ItotgKyUBINlexd6SOn6XoS3nsvmmVAUxzLOCMpQy0S OGSCbLDmziAbiXbXCZreo4FvH5vGEoxbNAteKuhQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=rile.ca; h=reply-to:from :to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding; s=rile.ca; bh=awcNA8ymytesDoXqkzdd8Iuv24Y=; b=EoeN9IxrXgxBp6ruG7aa9+V2PIgO K4F5H3qFbdBQJAE7o3A+aTziuExdeNzffIdsYd73qvipj543Hj9ocZscGvgPVmt/ o9rDXhImG1VnPU6j26CPf124hVyQkT7H6xjcweGrYMABj9yIILTeaI8rD04cifBY KL7ke5enXTisCec= Received: from MikePCToo (s72-38-93-190.static.comm.cgocable.net [72.38.93.190]) (Authenticated sender: mike@rile.ca) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTPA id 8F5CB7D805B; Thu, 18 Aug 2011 08:55:06 -0700 (PDT) Reply-To: To: "'Roger Llopart Pla'" , "'Reindl Harald'" Cc: References: <4E4C44AA.3070302@thelounge.net> <4E4C4729.5040905@thelounge.net> <4E4C4F14.5000306@sugarcrm.com> <4E4C533A.5020909@thelounge.net> In-Reply-To: Date: Thu, 18 Aug 2011 11:55:18 -0400 Message-ID: <003901cc5dbf$3c9d9a00$b5d8ce00$@ca> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcxdOm3jID+yzaa8T2GEHXVYGWzlfgAg0gSw Content-Language: en-ca Subject: RE: [PHP-DEV] Autotests: Access denied for user 'root'@'localhost' (using password: NO) From: mike@rile.ca ("Mike Robinson") On August-17-11 8:04 PM Roger Llopart Pla wrote: > That use, or, if it's a development machine, leave it as it is since it > does it's work just fine. > > 2011/8/18 Reindl Harald > > > > > > > Am 18.08.2011 01:30, schrieb Stas Malyshev: > > > Hi! > > > > > >> well but using root as default is a little bit crazy > > >> using user "test" with empty password is acceptable but root???? > > >> > > > > > > It's not _that_ root. For mysql, it's just a default user name. > > > Most people would run it on development machines with mysql > > > configured not to answer to network, so it's not of a problem > > > > it IS THAT root of mysql > > > > please do not believe i think it has anything to do with system-root > > i am doing this job now since ten years :-) > > > > using a build/test-server with mysql-driven pure-ftpd and phpmyadmin > > while having horde-webmail also on the test-machine and you are f**ed > > with a mysql-root without password > > > > the only sense for the default-root without pwd in mysql is to > > enter "mysql -u root" and set your pwd directly after install It strikes me that the out-of-the-box test only works on a fresh clean install of MySQL. The install docs for MySQL strongly recommend changing that immediately after the install - which I think most people do - so I doubt very much those are the credentials for the vast majority of MySQL installs in the world. I'm wondering if adding a prompt for the mysql username and password, with the defaults set as is, would be possible, and if so, if someone were to offer a patch why it shouldn't be considered. IMHO, if the defaults were used and the tests ran successfully, I'd be tempted to display a console message along the lines of "your myself default root credentials are wide open, are you being silly?" Best Regards, Mike Robinson