UDF writing to unix socket - segfaults?

2012-08-08 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 to UDP and

RE: About character_set_*

2012-08-08 Thread Zhigang Zhang
I know this, But I think the variable character_set_connection is unnecessary. Because the server know the table's encoding, So it can convert the encoding from character_set_client to the table's encoding. -Original Message- From: Rick James [mailto:rja...@yahoo-inc.com] Sent:

RE: Error starting data node

2012-08-08 Thread Stillman, Benjamin
Unable to connect with connect string: nodeid=10,172.17.3.66:1186 There's a comma between 10 and 172 instead of a period. -Original Message- From: Aastha [mailto:aast...@gmail.com] Sent: Tuesday, August 07, 2012 6:20 PM To: mysql@lists.mysql.com Subject: Error starting data node Helo,

RE: UDF writing to unix socket - segfaults?

2012-08-08 Thread Martin Gainty
assuming you worked out the access to network by your code permissions 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 and toss in plenty of codeguard and debug statements and recompile and rebuild.

RE: Error starting data node

2012-08-08 Thread Stillman, Benjamin
I just realized I shouldn't be reading these first thing in the morning before my first cup of coffee.. That says node id 10, then the IP. Sorry about that. -Original Message- From: Stillman, Benjamin [mailto:bstill...@limitedbrands.com] Sent: Wednesday, August 08, 2012 8:56 AM

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'm running on

RE: UDF writing to unix socket - segfaults?

2012-08-08 Thread Martin Gainty
this is pure speculation unless we can get ahold of the source code for your specific version of glibc and determine what the maximum sizes are .. otherwise anything I suggest would be speculative..lets take a look at http://fossies.org/dox/glibc-2.16.0/sysdeps_2mach_2hurd_2sendto_8c_source.html

RE: UDF writing to unix socket - segfaults?

2012-08-08 Thread Per Jessen
Martin Gainty wrote: this is pure speculation unless we can get ahold of the source code for your specific version of glibc and determine what the maximum sizes are .. otherwise anything I suggest would be speculative..lets take a look at

Re: trouble with perl

2012-08-08 Thread Elim Qiu
I really confussed about this. I don't know whether my mysql is 32bit or 64bit, so I just fresh installed mysql 5.5.27 for osx 10.6 64bit. And I did reinstalled DBI and DBD::mysql make give me a lot of warnings like warning: format not a string literal and no format arguments but make test did

changing mySQL table name screws phpMyAdmin?? reverting change fixes??

2012-08-08 Thread Rajeev Prasad
I changed a name of the table from within phpMyAdmin, and immediately it crapped. after that when I try to connect using phpMyAdmin (/phpMyAdmin/index.php) I get error in log: [Wed Aug 0814:18:582012][error]Query call failed:Table'mydb.mychangedtbls'doesn't exist (1146) (I changed the name from

Re: trouble with perl

2012-08-08 Thread Perrin Harkins
On Wed, Aug 8, 2012 at 1:12 PM, Elim Qiu elim@gmail.com wrote: But when I use browser for the system testing (perl_test.cgi and forum.pl), both report me that DBD:mysql is not installed (or not available) It's possible that DBD::mysql is installed in a place where it's not in the library

RE: changing mySQL table name screws phpMyAdmin?? reverting change fixes??

2012-08-08 Thread Rick James
(I don't know about phpMyAdmin) SHOW CREATE TABLE is more descriptive than DESCRIBE. You are more likely to get the collation information that way. -Original Message- From: Rajeev Prasad [mailto:rp.ne...@yahoo.com] Sent: Wednesday, August 08, 2012 10:20 AM To: mysql list Subject:

RE: trouble with perl

2012-08-08 Thread Martin Gainty
I know I had the same problem with PHP when mysql.dll was off my PATH..put the 2 mysql libraries on the first directory from your PATH 05/30/2008 08:17 PM 2,125,824 libmysql.dll 06/13/2012 06:31 PM34,304 php_mysql.dll be aware when things go wrong with DLL's you have no

RE: trouble with perl

2012-08-08 Thread DaWiz
I can't find his phone number to call him. -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Wednesday, August 08, 2012 12:22 PM To: elim@gmail.com Cc: mysql@lists.mysql.com Subject: RE: trouble with perl I know I had the same problem with PHP when mysql.dll