Re: mysql.sock location

2013-08-18 Thread Liviu Daia
On 18 August 2013, Guy Ferguson guyfergu...@tpg.com.au wrote: [...] BUt I am trying to handle the chroot issue by using a hack I found online: ### in /etc/rc.local: # mysql server if [ -x /usr/local/bin/mysqld_safe ] ; then su -c mysql root -c

Re: Aug 12 Snapshot - Upgrade clarification

2013-08-18 Thread James Griffin
!-- On Sat 17.Aug'13 at 14:10:43 BST, Otto Moerbeek (o...@drijf.net), wrote: Easiest way is to look at thge timestamps. They should be at least mid-August. Thanks, got that. It's not the first time I've been told that. Stuart Henderson told me that before but I forgot so that's my fault

Re: mysql.sock location

2013-08-18 Thread Kārlis Miķelsons
Broken record: linking only works until you restart the server manually, as mysqld removes the socket and re-creates it when starting. The location of the socket is configured in /etc/my.cnf. To use mysql with chrooted Apache / Nginx either use TCP connections, or set both /etc/my.cnf and

ipsec with smartcard?

2013-08-18 Thread Markus Wernig
Hi all I need to build an OpenBSD IPsec gateway that uses keys/certificates from a hardware device (external smartcard, presumably via pkcs#11) for authenticating itself to other gateways when establishing a connection with them (active). In the ipsec/isakmpd man pages I found no references to

Re: mysql.sock location

2013-08-18 Thread Ville Valkonen
ehm.. 127.0.0.1 == localhost On Aug 18, 2013 12:06 PM, Kārlis Miķelsons karlis.mikels...@lf.lv wrote: Broken record: linking only works until you restart the server manually, as mysqld removes the socket and re-creates it when starting. The location of the socket is configured in

Re: mysql.sock location

2013-08-18 Thread Otto Moerbeek
On Sun, Aug 18, 2013 at 01:29:14PM +0300, Ville Valkonen wrote: ehm.. 127.0.0.1 == localhost yes, but if you use 127.0.0.1 you force a tcp connection and no unix domain socket is even needed. -Otto On Aug 18, 2013 12:06 PM, K??rlis Mi??elsons karlis.mikels...@lf.lv wrote:

Re: How to mark a block as invalid ?

2013-08-18 Thread Mik J
Hello, Thank you all for your answers. First I would like to understand better what's happening. According to what I read, there are no block in the disk itself, they refer to the word sector. Then, the OS, here OpenBSD format it with a block size. So from a physical point of view I have faulty

Re: mysql.sock location

2013-08-18 Thread Guy Ferguson
Livia, Thanks for your help. I modded the /etc/my.cnf to add in the extra /run directory. A few other tweaks here and there and i can now get a test.php to connect to the default host mysql ($conn=mysql_connect...) So now i'm confident that mysql is working and connectable...I just ahve to

Re: How to mark a block as invalid ?

2013-08-18 Thread Josh Grosse
On Sun, Aug 18, 2013 at 01:00:07PM +0100, Mik J wrote: First I would like to understand better what's happening. According to what I read, there are no block in the disk itself, they refer to the word sector. Then, the OS, here OpenBSD format it with a block size. So from a physical point of

Re: mysql.sock location

2013-08-18 Thread Liviu Daia
On 18 August 2013, Guy Ferguson guyfergu...@tpg.com.au wrote: Livia, If you want to address me by name, s/Livia/Liviu/ please. It might not be much, but it's my name, and I kind of became attached to it over the years. :) Thanks for your help. I modded the /etc/my.cnf to add in the

current/macppc with the new radeondrm

2013-08-18 Thread Jan Stary
Just upgraded my MacMini to current/macppc. As the snapshot contains base sets from Aug 17 but the X sets are from July 22, I recompiled everything from current source after the upgrade to make sure everything is over the recent ABI change. This is what the new radeon code says at the end of the

Re: current/macppc with the new radeondrm

2013-08-18 Thread patrick keshishian
On 8/18/13, Jan Stary h...@stare.cz wrote: Just upgraded my MacMini to current/macppc. As the snapshot contains base sets from Aug 17 but the X sets are from July 22, I recompiled everything from current source after the upgrade to make sure everything is over the recent ABI change. This is

Re: current/macppc with the new radeondrm

2013-08-18 Thread Martin Pieuchot
On 18/08/13(Sun) 19:33, Jan Stary wrote: Just upgraded my MacMini to current/macppc. As the snapshot contains base sets from Aug 17 but the X sets are from July 22, I recompiled everything from current source after the upgrade to make sure everything is over the recent ABI change. But you

Re: mysql.sock location

2013-08-18 Thread Ville Valkonen
fair enough. thanks for the clarification. On 18 August 2013 14:13, Otto Moerbeek o...@drijf.net wrote: On Sun, Aug 18, 2013 at 01:29:14PM +0300, Ville Valkonen wrote: ehm.. 127.0.0.1 == localhost yes, but if you use 127.0.0.1 you force a tcp connection and no unix domain socket is even

Re: mysql.sock location

2013-08-18 Thread Matthew Weigel
On 8/18/2013 5:29 AM, Ville Valkonen wrote: ehm.. 127.0.0.1 == localhost http://dev.mysql.com/doc/refman/5.5/en/connecting.html On Unix, MySQL programs treat the host name localhost specially, in a way that is likely different from what you expect compared to other network-based programs. For

Re: How to mark a block as invalid ?

2013-08-18 Thread STeve Andre'
On 08/18/13 08:00, Mik J wrote: Hello, Thank you all for your answers. First I would like to understand better what's happening. According to what I read, there are no block in the disk itself, they refer to the word sector. Then, the OS, here OpenBSD format it with a block size. So from a

Re: current/macppc with the new radeondrm

2013-08-18 Thread Jan Stary
On Aug 18 20:03:02, mpieuc...@nolizard.org wrote: On 18/08/13(Sun) 19:33, Jan Stary wrote: Just upgraded my MacMini to current/macppc. As the snapshot contains base sets from Aug 17 but the X sets are from July 22, I recompiled everything from current source after the upgrade to make

Re: current/macppc with the new radeondrm

2013-08-18 Thread Matthieu Herrb
On Sun, Aug 18, 2013 at 10:49:25AM -0700, patrick keshishian wrote: On 8/18/13, Jan Stary h...@stare.cz wrote: Just upgraded my MacMini to current/macppc. As the snapshot contains base sets from Aug 17 but the X sets are from July 22, I recompiled everything from current source after the