Re: updating a very old Macports install

2015-02-13 Thread Bruce J. Carter
Ok... I succumbed, I went to /opt/local and did an rm -rf * and reinstalled the Macports package for Yosemite... no issues... I learned something for years I have always used the trunk, now I know why I have had to troubleshoot port builds from time to time and massage them into installing. I

Re: configuring phpmyadmin: why no table mysql.host for mysql56?

2015-02-13 Thread Brandon Allbery
On Sat, Feb 14, 2015 at 12:07 AM, Murray Eisenberg < murrayeisenb...@gmail.com> wrote: > This gives: ERROR 1146 (42S02): Table 'mysql.host' doesn't exist > > And indeed, that table does not exist. (I see this by executing mysql > commands "use mysql;" and then "show tables;" ; I see the same thin

configuring phpmyadmin: why no table mysql.host for mysql56?

2015-02-13 Thread Murray Eisenberg
I have a newly installed working installation of mysql56-server and mysql56 from MacPorts. I already had a working apache2 and php56 with apache2 support. Next I installed phpmyadmin @4.3.9_0+php56 and have a suitable config.inc.php so that under apache2 I can run phpmyadmin in Safari. I'm now

Re: updating a very old Macports install

2015-02-13 Thread Joshua Root
On 2015-2-14 15:01 , Ryan Schmidt wrote: > > On Feb 13, 2015, at 9:21 PM, Joshua Root wrote: > >>> See below: >>> expected integer but got "-exclusive" obtaining lock on >>> /opt/local/var/macports/registry/.registry.lock >>>while executing >>> "registry::exclusive_lock" >>>(procedure "mp

Re: updating a very old Macports install

2015-02-13 Thread Ryan Schmidt
On Feb 13, 2015, at 9:21 PM, Joshua Root wrote: >> See below: >> expected integer but got "-exclusive" obtaining lock on >> /opt/local/var/macports/registry/.registry.lock >>while executing >> "registry::exclusive_lock" >>(procedure "mportexec" line 32) > > You appear to be running trunk

updating a very old Macports install

2015-02-13 Thread Joshua Root
> See below: > expected integer but got "-exclusive" obtaining lock on > /opt/local/var/macports/registry/.registry.lock > while executing > "registry::exclusive_lock" > (procedure "mportexec" line 32) You appear to be running trunk. You could take this opportunity to go back to a released

Re: CD creation/burning: [MacPorts] #46840: new port submission: xcdroast

2015-02-13 Thread Ned Deily
In article <1815194.9uG6SLK7dp@portia.local>, Rene J.V. Bertin wrote: > Yes, I'm aware of those settings; they have been in existence for as long as > I can remember. There's no option however to ignore data CDs or DVDs, and I'm > not sure if ignoring the injection of a music CD (i.e. not launc

Re: updating a very old Macports install

2015-02-13 Thread Bruce J. Carter
sudo ./restore_ports.tcl myports.txt On Fri, Feb 13, 2015 at 6:11 PM, Ryan Schmidt wrote: > On Feb 13, 2015, at 5:02 PM, Bruce J. Carter wrote: > > > Absolutely! The only thing that changes is the package name. > > > > See below: > > expected integer but got "-exclusive" obtaining lock on > /opt

Re: updating a very old Macports install

2015-02-13 Thread Ryan Schmidt
On Feb 13, 2015, at 5:02 PM, Bruce J. Carter wrote: > Absolutely! The only thing that changes is the package name. > > See below: > expected integer but got "-exclusive" obtaining lock on > /opt/local/var/macports/registry/.registry.lock > while executing > "registry::exclusive_lock" > (

Re: updating a very old Macports install

2015-02-13 Thread Bruce J. Carter
Absolutely! The only thing that changes is the package name. See below: expected integer but got "-exclusive" obtaining lock on /opt/local/var/macports/registry/.registry.lock while executing "registry::exclusive_lock" (procedure "mportexec" line 32) invoked from within "mportexec $wor

Re: updating a very old Macports install

2015-02-13 Thread Ryan Schmidt
On Feb 13, 2015, at 12:48 PM, Bruce J. Carter wrote: > Ok I have followed the directions, everything goes along fine for a bit, then > I get a registry lock error and have to manually instal the problem package, > it does not do it to every package, but I have to babysit it. I also have to > c

Re: can't start mysql56 after move datadir

2015-02-13 Thread Murray Eisenberg
Thanks to repeated help from Ryan Schmidt and Brandon Allbery, I finally was able to get mysql56 to work with a non-default datadir location. Here's what I did: 0. Uninstalled the macports mysql56-server and deleted both /opt/local/var/db/mysql56 and /Volumes/MacHD/Users/thisuser/Databases/

Re: can't start mysql56 after move datadir

2015-02-13 Thread Bradley Giesbrecht
On Feb 13, 2015, at 12:38 PM, Murray Eisenberg wrote: > Since I cannot get mysql server to run, from > > /opt/local/lib/mysql56/bin/mysqladmin variables | grep socket > > I obtain output: > > /opt/local/lib/mysql56/bin/mysqladmin: connect to server at 'localhost' > failed > error: 'Can't

Re: can't start mysql56 after move datadir

2015-02-13 Thread Brandon Allbery
On Fri, Feb 13, 2015 at 3:46 PM, William H. Magill wrote: > I have no statistics, but when I retired back in 2003, almost nobody used > ACLs even though they had been around for several years. Looking at the ACL > man page, it appears that BSD included them in 2002. . . . and just doing > some q

Re: can't start mysql56 after move datadir

2015-02-13 Thread William H. Magill
ACLs are not "common knowledge" -- Apple probably uses them more than any other vendor. While ACLs (Access Control Lists) provide much finer-grained security than the old User/Group/Other (or Owner/Group/World depending on your background) technique, they take a great deal more THOUGHT and UNDE

Re: can't start mysql56 after move datadir

2015-02-13 Thread Murray Eisenberg
Since I cannot get mysql server to run, from /opt/local/lib/mysql56/bin/mysqladmin variables | grep socket I obtain output: /opt/local/lib/mysql56/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/opt/local/var/run/mysql56/m

Re: can't start mysql56 after move datadir

2015-02-13 Thread Murray Eisenberg
I don't think I have another my.cnf. I see: /opt/local/lib/mysql56/bin/mysqld --help --verbose 2>&1 | grep -A 1 "Default options" | tail -n +2 /etc/my.cnf /etc/mysql/my.cnf /opt/local/etc/mysql56/my.cnf ~/.my.cnf However, in /etc (actually, /private/etc) there's a file my.cnf~ but _no_ my.

Re: can't start mysql56 after move datadir

2015-02-13 Thread Dave Horsfall
On Fri, 13 Feb 2015, Brandon Allbery wrote: > I've never heard permission "+x" referred to as "search > permission". I thought +x is "execute" permission, which is > surely more dangerous than +r read permission. > > How do you execute a directory? +x *on directories* is "search

Re: can't start mysql56 after move datadir

2015-02-13 Thread Bradley Giesbrecht
On Feb 12, 2015, at 5:24 PM, Murray Eisenberg wrote: > I should add that whereas the command "sudo port load mysql56-server" runs > without returning any error to the terminal, the next command, beginning > "/opt/local/lib/mysql56/bin/mysql" bombs out, returning the error: > > ERROR 2002 (HY0

Re: can't start mysql56 after move datadir

2015-02-13 Thread Bradley Giesbrecht
On Feb 12, 2015, at 5:24 PM, Murray Eisenberg wrote: > I should add that whereas the command "sudo port load mysql56-server" runs > without returning any error to the terminal, the next command, beginning > "/opt/local/lib/mysql56/bin/mysql" bombs out, returning the error: > > ERROR 2002 (HY0

Re: updating a very old Macports install

2015-02-13 Thread Bruce J. Carter
Ok I have followed the directions, everything goes along fine for a bit, then I get a registry lock error and have to manually instal the problem package, it does not do it to every package, but I have to babysit it. I also have to comment to package out of the package list to prevent the exclus

Re: can't start mysql56 after move datadir

2015-02-13 Thread Brandon Allbery
On Fri, Feb 13, 2015 at 12:10 AM, Murray Eisenberg < murrayeisenb...@gmail.com> wrote: > Do I also need to give the group _mysql read permission to some or all of > /Volumes, /Volumes/MacHD, /Volumes/MacHD/Users, > /Volumes/MacHD/Users/thisuser, /Volumes/MacHD/Users/thisuser/mysql ? > > If so, mig

Re: can't start mysql56 after move datadir

2015-02-13 Thread Brandon Allbery
On Fri, Feb 13, 2015 at 12:43 PM, Murray Eisenberg < murrayeisenb...@gmail.com> wrote: > (I find it strange that while searching on-line for how to use a > non-default location for the mysql datadir, none of them mentioned such ACL > manipulation (all they described was giving _mysql ownership of

Re: [KDE/Mac] Qt4/KDE4 issue with persistent window size across restarts on OS X 10.9

2015-02-13 Thread René J . V . Bertin
Ok, I think I understand what's going on: When using the MS Windows code: {{{ void KMainWindow::restoreWindowSize( const KConfigGroup & _cg ) { K_D(KMainWindow); int scnum = QApplication::desktop()->screenNumber(window()); QRect desk = QApplication::desktop()->screenGeometry(scnum);

Re: can't start mysql56 after move datadir

2015-02-13 Thread Brandon Allbery
On Fri, Feb 13, 2015 at 12:34 PM, Murray Eisenberg < murrayeisenb...@gmail.com> wrote: > The Finder Get Info Sharing & Permissions doesn't seem to allow adding x > permission to anything, just read only, write only, or read & write. In any > case, user _mysql does not appear among the users to add

Re: can't start mysql56 after move datadir

2015-02-13 Thread Murray Eisenberg
Or, since I'm dealing with directories in the path leading to the mysql matador, should those chmod commands be the following? chmod +a "_mysql allow search" [dir_name] (I find it strange that while searching on-line for how to use a non-default location for the mysql datadir, none of them

Re: can't start mysql56 after move datadir

2015-02-13 Thread Murray Eisenberg
The Finder Get Info Sharing & Permissions doesn't seem to allow adding x permission to anything, just read only, write only, or read & write. In any case, user _mysql does not appear among the users to add that way. The chmod man entry for ACL manipulations is hard to penetrate. With my mysql

Re: can't start mysql56 after move datadir

2015-02-13 Thread Brandon Allbery
On Fri, Feb 13, 2015 at 12:05 PM, Murray Eisenberg < murrayeisenb...@gmail.com> wrote: > Isn't there some safer way to be able to use mysql with a datadir in a > non-default location (after specifying it in my.cnf, of course)? You can use ACLs to only grant that permission to the _mysql user (se

Re: can't start mysql56 after move datadir

2015-02-13 Thread Murray Eisenberg
OK, understood. But still, it seems a security risk to use "chmod a+x" or even "chmod o+x" on each of the directories /Volumes, /Volumes/MacHD, /Volumes/MacHD/Users, /Volumes/MacHD/Users/thisuser, /Volumes/MacHD/Users/thisuser/mysql (leading to /Volumes/MacHD/Users/thisuser/mysql/data, which i

Re: can't start mysql56 after move datadir

2015-02-13 Thread Brandon Allbery
On Fri, Feb 13, 2015 at 11:31 AM, Murray Eisenberg < murrayeisenb...@gmail.com> wrote: > I've never heard permission "+x" referred to as "search permission". I > thought +x is "execute" permission, which is surely more dangerous than +r > read permission. How do you execute a directory? +x *on d

Re: can't start mysql56 after move datadir

2015-02-13 Thread Murray Eisenberg
I've never heard permission "+x" referred to as "search permission". I thought +x is "execute" permission, which is surely more dangerous than +r read permission. > On 13 Feb2015, at 12:19 AM, Brandon Allbery wrote: > > On Fri, Feb 13, 2015 at 12:10 AM, Murray Eisenberg > wrote: > Do I also

Re: CD creation/burning: [MacPorts] #46840: new port submission: xcdroast

2015-02-13 Thread René J . V . Bertin
On Friday February 13 2015 04:54:29 Ned Deily wrote: > > System Preferences -> CDs & DVDs -> When you insert a blank CD -> Ignore Yes, I'm aware of those settings; they have been in existence for as long as I can remember. There's no option however to ignore data CDs or DVDs, and I'm not sure

Re: CD creation/burning: [MacPorts] #46840: new port submission: xcdroast

2015-02-13 Thread Ned Deily
In article <4372684.aLdx8UTxBz@patux>, Rene J.V. Bertin wrote: > Back in 10.3 (and maybe 10.4) days, xcdroast gave itself a chance to access > newly inserted optical disks (= preventing the Finder from auto-mounting > them) by killing the autodiskmount daemon. That no longer works, but there >

Re: CD creation/burning: [MacPorts] #46840: new port submission: xcdroast

2015-02-13 Thread Eneko Gotzon
On Fri, Feb 13, 2015 at 11:08 AM, René J.V. wrote: > I've been looking at free disk > ​ > burning apps > René, excuse me if that is obvious or ​inappropriate. What about Burn ? -- Eneko Gotzon Ares __

Re: CD creation/burning: [MacPorts] #46840: new port submission: xcdroast

2015-02-13 Thread Dominik Reichardt
I'd really like a good tool for OS X to create a bin/cue image of mixed mode CDs. So far the only reliable solution has been to use Alcohol 120% in a Windows VM... So this is a "me too" post ;) Take care Dominik > Am 13.02.2015 um 11:08 schrieb René J.V. Bertin : > > FYI of the FWIW kind :)

CD creation/burning: [MacPorts] #46840: new port submission: xcdroast

2015-02-13 Thread René J . V . Bertin
FYI of the FWIW kind :) Back in 10.3 (and maybe 10.4) days, xcdroast gave itself a chance to access newly inserted optical disks (= preventing the Finder from auto-mounting them) by killing the autodiskmount daemon. That no longer works, but there must surely be another way. Does anyone on her