RE: UDF writing to unix socket - segfaults?

2012-08-08 Thread Per Jessen
egfault occur > ? Interesting that you should pick on the length - I think that might be it. When I switched to using a UDP socket, sendto() did complain about the length. (error 90, message too long). Hmm, that's probably a UDP packet-size restriction, whereas no such restriction exist

RE: UDF writing to unix socket - segfaults?

2012-08-08 Thread Martin Gainty
ous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: p...@computer.org > Subject: RE: UDF writing to unix socket - segfaults? > Date: Wed, 8 Aug 2012 15:39:09 +0200 > To: mysql@lists.mysql.com > > Martin Gainty wrote: > > > assuming you worked out t

RE: UDF writing to unix socket - segfaults?

2012-08-08 Thread Per Jessen
Martin Gainty wrote: > assuming you worked out the access to network by your code permissions When I open the unix socket, I give it 0777. > that means memory heap or stack is being overrun...you would be well > advised to download the connect() and sendto() code from the OS vendor I&

RE: UDF writing to unix socket - segfaults?

2012-08-08 Thread Martin Gainty
n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: p...@computer.org > Subject: UDF writing to unix socket - segfaults? &g

UDF writing to unix socket - segfaults?

2012-08-07 Thread Per Jessen
I am writing a UDF for sending messages to a local daemon. I've been trying to make it use a UNIX socket, but it keeps segfaulting on connect() or sendto(). I have double and tripled checked everything, but I'm not finding anything. After a day or two, I finally decided to switch

Re: mysql 5.0.18: Bind on unix socket: Permission denied

2006-01-27 Thread Nathan Gross
[Sorry] I didn't realize that hitting Reply (using Gmail) sent a private message. Usually on lists the message ends up on the list. Will need to observe the header in the future. tx; -nat On 1/27/06, Gleb Paharenko <[EMAIL PROTECTED]> wrote: > Hello. > > Please, next time always CC your messages t

Re: mysql 5.0.18: Bind on unix socket: Permission denied

2006-01-27 Thread Gleb Paharenko
Hello. Please, next time always CC your messages to the list as well. I'm not a lampp expert and can only point you to: http://dev.mysql.com/doc/refman/5.0/en/program-options.html >This advice proved very helpful. This is where its at now: >I noticed that the .err file belonged to user 'nobod

Re: mysql 5.0.18: Bind on unix socket: Permission denied

2006-01-25 Thread Gleb Paharenko
t; I changed the own and grp on the /opt/lampp directroy structure, with > the owner now being mysql with full rights. > I do not know at which point this happened but I can't bring up the > thing any longer. This is what I get: > 060124 14:15:44 mysqld started > 060124 14

mysql 5.0.18: Bind on unix socket: Permission denied

2006-01-24 Thread Nathan Gross
cture, with the owner now being mysql with full rights. I do not know at which point this happened but I can't bring up the thing any longer. This is what I get: 060124 14:15:44 mysqld started 060124 14:15:44 [ERROR] Can't start server : Bind on unix socket: Permission denied 060124 14:15:44

Re: Mysql unix socket and built-in defaults

2005-05-05 Thread Gleb Paharenko
Hello. > I see default unix socket file is /tmp/mysql.sock > which could be removed by someone accidently. > Is it normal to keep it that way or keep in a > protected directory ? See: http://dev.mysql.com/doc/mysql/en/problems-with-mysql-sock.html "V. Agarwal&q

Mysql unix socket and built-in defaults

2005-05-04 Thread V. Agarwal
Which cnf file (small,medium,large,huge) has params that are closer to mysql defaults for starting up server? I see default unix socket file is /tmp/mysql.sock which could be removed by someone accidently. Is it normal to keep it that way or keep in a protected directory ? Thanks

Cannot connect to mysql through network while unix socket works

2004-12-23 Thread Oscar
r and find the mysqld is running and functional, because I can connect to it via unix socket!!! Things not changed event restart the mysql service, so I have to reboot the server :( Anybody here has the same experience, and how this happened? Oscar Yen.

Re: "Bind on Unix Socket: Permission Denied"

2003-12-22 Thread Tan Shao Yi
On Mon, 22 Dec 2003, Aleksei Wolff wrote: > I just installed the server and I am getting this > message in the mysql.log when I execute: > > ./bin/safe_mysqld --user=mysql & Hi Alex, You might want to check the permissions of your /tmp directory. Is it "drwxrwxrwt"? :) Regards, Tan Shao Yi --

"Bind on Unix Socket: Permission Denied"

2003-12-22 Thread Aleksei Wolff
I just installed the server and I am getting this message in the mysql.log when I execute: ./bin/safe_mysqld --user=mysql & Thanks in Advance. Alex- __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree --

RE: Unix Socket Daemon

2003-11-11 Thread Dathan Vance Pattishall
t;From: Arnoldus Th.J. Koeleman [mailto:[EMAIL PROTECTED] -->Sent: Tuesday, November 11, 2003 12:29 PM -->To: [EMAIL PROTECTED] -->Subject: Unix Socket Daemon --> -->I wanna bring up the mysql daemon on a unix domain socket. --> --> --> -->Any Idea how?? --> --> --&

Unix Socket Daemon

2003-11-11 Thread Arnoldus Th.J. Koeleman
I wanna bring up the mysql daemon on a unix domain socket. Any Idea how?? I don't wanna use the localhost TCP

Re: unworking directive --with-unix-socket-path=/

2003-03-23 Thread Andreas
Slawomir Orlowski schrieb: I could connect with new /usr/local/mysql/bin/mysql client (old one was not working) and select data from moved databases. problem is that web pages are not working any more, The old one doesn't find the socket. I did and it worked, but I do not know what to do in

Re: unworking directive --with-unix-socket-path=/

2003-03-12 Thread Paul DuBois
anually all perl scripts. so far my problems my faults: but now we have bug: bacause I have problem with mysql.socket which was in old version in /var/lib/mysql now in /tmp so ./configure --prefix=/usr/local/mysql \ --with-unix-socket-path=/var/lib/mysql/mysql.so

unworking directive --with-unix-socket-path=/

2003-03-12 Thread Slawomir Orlowski
ts: but now we have bug: bacause I have problem with mysql.socket which was in old version in /var/lib/mysql now in /tmp so ./configure --prefix=/usr/local/mysql \ --with-unix-socket-path=/var/lib/mysql/mysql.sock make;make install etc. should produce mysql with s

unix socket

2002-12-02 Thread dave qnx
I see mysqld has options to only use unix domain socket and not bind to tcpip port. Is there a way to do it the other way around? don't use unix socket, only use tcpip? Also, can I disable the unix sockets during the build time, so that mysql will only use tcpip? Is there a way to tell mys

Re: Bind on unix socket: Permission denied

2002-11-22 Thread Van
Illingsworth wrote: > > Mysqld.log shows this error: > > 021122 11:29:05 mysqld started > 021122 11:29:06 Can't start server : Bind on unix socket: Permission denied > 021122 11:29:06 Do you already have another mysqld server running on socket: >

Bind on unix socket: Permission denied

2002-11-22 Thread Kenneth Illingsworth
Mysqld.log shows this error: 021122 11:29:05 mysqld started 021122 11:29:06 Can't start server : Bind on unix socket: Permission denied 021122 11:29:06 Do you already have another mysqld server running on socket: /var/lib/mysql/mysql

Re: Can't start server : Bind on unix socket ?

2002-05-31 Thread Victoria Reznichenko
get started... see what I could get accomplished just playing around. CG> [chris@the_pc /] $ mysql CG> ERROR 2002: Can't connect to local MySQL server through socket CG> '/var/lib/mysql/mysql.sock' (111) CG> [chris@the_pc /] $ mysqld CG> 020530 17:43:26 Can't

Can't start server : Bind on unix socket ?

2002-05-30 Thread Chris Garaffa
around. [chris@the_pc /] $ mysql ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) [chris@the_pc /] $ mysqld 020530 17:43:26 Can't start server : Bind on unix socket: Address already in use 020530 17:43:26 Do you already have another m

Re: Help with MySQL: Bind on unix socket error

2002-02-12 Thread Diana Soares
On Tue, 2002-02-05 at 02:42, Joe Villari wrote: > I'm hoping I can get some help here, I'm trying to get MySQL running > on YellowDog Linux 2.4.17 kernel. I've installed the mysql, > mysql-server and mysql-devel-3.23.32-1.7a rpms from my install CD. > Ran mysql_install_db then changed the group

Re: Help with MySQL: Bind on unix socket error

2002-02-05 Thread Diana Soares
On Tue, 2002-02-05 at 02:42, Joe Villari wrote: > I'm hoping I can get some help here, I'm trying to get MySQL running > on YellowDog Linux 2.4.17 kernel. I've installed the mysql, > mysql-server and mysql-devel-3.23.32-1.7a rpms from my install CD. > Ran mysql_install_db then changed the group

Help with MySQL: Bind on unix socket error

2002-02-04 Thread Joe Villari
. This is what shows up in my mysqld.log after trying to run mysql_safed 020204 16:19:56 mysqld started 020204 16:19:56 Can't start server: Bind on unix socket: Permission denied 020204 16:19:56 Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock? 020204 16:19

Re: Bind on unix socket: Permission denied

2001-12-28 Thread sam
EMAIL PROTECTED]> Sent: Friday, December 28, 2001 3:51 PM Subject: RE: Bind on unix socket: Permission denied > > i run mysql_insyall_db and when i started safe_mysql > > If you were able to run mysql_instal_db, then mysqld > was already running. > > > # ./safe_mysqld -

RE: Bind on unix socket: Permission denied

2001-12-28 Thread Carsten H. Pedersen
t; > mysqld.log shows > > 011228 12:18:51 mysqld started > 011228 12:18:51 Can't start server : Bind on unix socket: > Permission denied > 011228 12:18:51 Do you already have another mysqld server running on > socket: /var/lib/mysql/mysql.sock ? You did. > 011228 12:18

Bind on unix socket: Permission denied

2001-12-28 Thread sam
1228 12:18:51 mysqld started 011228 12:18:51 Can't start server : Bind on unix socket: Permission denied 011228 12:18:51 Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ? 011228 12:18:51 Aborting 011228 12:18:51 /usr/local/libexec/mysqld: Shutdown

Can't Create UNIX socket

2001-11-26 Thread Jonathan Hilgeman
I keep getting this error randomly when trying to connect to the MySQL server: Can't create UNIX socket (55) It happens when trying to connect either through PHP or via the shell (mysql command). I haven't had this problem before - any thoughts? It only happens temporarily, and th

Re: creating a Unix socket

2001-11-12 Thread Erik Price
But when I specified --with-unix-socket-path=/usr/local/mysql/run/mysql_socket in the ./configure , I assumed that this would automatically set the socket to occur in /usr/local/mysql/run without any further work on my part. So does that mean that forevermore when invoking the daemon I need to use the soc

Re: creating a Unix socket

2001-11-12 Thread Bill Adams
Erik Price wrote: > Hello, > > Despite hours plumbing the MySQL documentation and Paul DuBois' book > "MySQL" (New Riders), I can't figure out what exactly creates the Unix > socket for local connections. For some reason no socket was created > during my s

creating a Unix socket

2001-11-12 Thread Erik Price
Hello, Despite hours plumbing the MySQL documentation and Paul DuBois' book "MySQL" (New Riders), I can't figure out what exactly creates the Unix socket for local connections. For some reason no socket was created during my setup, and I'm not sure how to go abou

Re: Can't start server : Bind on unix socket: Permission denied

2001-07-31 Thread Neil Barnes
Shutdown Complete > >010731 08:52:14 mysqld ended > >010731 08:59:06 mysqld started >010731 8:59:06 /usr/sbin/mysqld: Can't create/write to file >'/x/mysql/mail.dcaliner.co.uk.pid' (Er >rcode: 13) >/usr/sbin/mysqld: ready for connections >010731

Can't start server : Bind on unix socket: Permission denied

2001-07-31 Thread Neil Barnes
:07:12 mysqld ended 010731 09:16:51 mysqld started 010731 9:16:51 Can't start server : Bind on unix socket: Permission denied 010731 9:16:51 Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.s ock ? 010731 9:16:51 Aborting 010731 9:16:51 /usr/sbin/my

WG: Can't start server : Bind on unix socket: Permission denied

2001-01-30 Thread Arendt, Wolfgang, VTC-DITx
--with-mysqld-user=mysql \ --with-unix-socket-path=/opt/mysql/var/mysql && make && make install && scripts/mysql_install_db && chown -R mysql.mysql /opt/mysql Explanation: --prefix=/opt/m

AW: Can't start server : Bind on unix socket: Permission denied

2001-01-30 Thread Arendt, Wolfgang, VTC-DITx
You will configure the source to be installed to the /opt/mysql-directory: Change ID to root and enter: ./configure --prefix=/opt/mysql \ --with-mysqld-user=mysql \ --with-unix-socket-path=/opt/mysql/var/mysql &&

Can't start server : Bind on unix socket: Permission denied

2001-01-29 Thread daveclark
privelidges, etc. The other two servers are run as root with no security. Every thing has gone down hill. All I get is this message: 'Can't start server : Bind on unix socket: Permission denied' whenever I try to start mysql.I've even rebooted the unix a few times, rebuilt t