lost connection to mysql server during query errors

2008-10-29 Thread Waynn Lue
We've started seeing mysql errors in the logs, and when i look at the output of mysql_error() (in php), i get lost connection to mysql server during query. Here's an example stack trace: 'Can't connect to name database [Lost connection to MySQL server during query]' Similarly, we're seeing stack

when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread Kevin Stevens
ello, I am encountering a problem I just can't seem to figure out and I am out of ideas. I can compile and run fine on one linux box running Mysql 5.1.23-rc, but as soon as I scp the binary and its required libs to another machine which has identical hardware and only a slightly upgraded distro

Re: when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread Micah Stevens
A working server relies on the MySQL binary, and system libraries, and the hardware itself. From your description you don't address the library compatibility. Have you ensured that your set of libraries is the same? -Micah On 10/29/2008 11:15 AM, Kevin Stevens wrote: ello, I am encountering

Re: Deployment of Database in a DEB package.

2008-10-29 Thread Moon's Father
Thanks. On Tue, Oct 28, 2008 at 3:17 PM, Micah Stevens [EMAIL PROTECTED]wrote: It's a package for Debian based systems, which include Ubuntu and a few others.. It's like an RPM for Fedora/Redhat linux. -Micah On 10/27/2008 06:39 PM, Moon's Father wrote: I'm sorry that if I can ask a

Re: lost connection to mysql server during query errors

2008-10-29 Thread Jake Maul
I've never had a lot of luck tracking down this sort of problem. One thing I've found to be a good first step is to add each server involved to the other server's /etc/hosts file (and restart MySQL so it notices). Don't have much more to offer other than the usual suspects: recent versions,

Re: when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread walter harms
Kevin Stevens schrieb: ello, I am encountering a problem I just can't seem to figure out and I am out of ideas. I can compile and run fine on one linux box running Mysql 5.1.23-rc, but as soon as I scp the binary and its required libs to another machine which has identical hardware and

Re: lost connection to mysql server during query errors

2008-10-29 Thread mos
At 10:21 PM 10/29/2008, you wrote: I've never had a lot of luck tracking down this sort of problem. One thing I've found to be a good first step is to add each server involved to the other server's /etc/hosts file (and restart MySQL so it notices). Don't have much more to offer other than the