Re: Lost connection to MySQL server during query

2009-09-09 Thread Claudio Nanni
Can you provide more details?
network layout, type of client/app used, connectors,etc,etc?
Thanks

Claudio


2009/9/9 stutiredboy stutired...@gmail.com

 hi,all:

 we met a problem that:

 * Lost connection to MySQL server during query
 SHOW TABLE STATUS WHERE ENGINE='MyISAM'

 *sometimes it works well, sometimes not

 our mysql version is 5.0.84

 our system is FreeBSD 6.2

 thanks

 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:
 http://lists.mysql.com/mysql?unsub=claudio.na...@gmail.com




-- 
Claudio


Re: Lost connection to MySQL server during query

2009-09-09 Thread Claudio Nanni
Since it is very unlikely that you lose connection on the socket file,
I guess you are using a PHP app, that uses the mysql driver and the problem
must be in the driver.
I would not look at mysql but at the PHP and PHP2MYSQL layer, mainly at the
later one.

Try different PHP (and driver) versions.


Claudio


2009/9/9 stutiredboy stutired...@gmail.com

 the application program and mysql server are in the same host
 and i have add skip-name-resolv to the my.cnf and
 extend the max_allowed_packet from 16M to 32M

 our application connected to mysql server from mysql.sock

 before the query which cause lost connection to MySQLserver..
 we only ran some sql that create table(s)

 i have read this article
 http://dev.mysql.com/doc/refman/5.1/en/gone-away.html
 and can get rid of the problems this article referred

 it seems that our problem is similar to this bug:
 http://lists.mysql.com/commits/9447
 http://bugs.mysql.com/bug.php?id=15752

 but, this bug has been fixed in 5.0.25

 are there any suggestions ? or any other informaion (s) should i post here?

 thanks!

 stutiredboy


 Claudio Nanni wrote:

 Can you provide more details?
 network layout, type of client/app used, connectors,etc,etc?
 Thanks

 Claudio


 2009/9/9 stutiredboy stutired...@gmail.com mailto:stutired...@gmail.com
 

hi,all:

we met a problem that:

* Lost connection to MySQL server during query
SHOW TABLE STATUS WHERE ENGINE='MyISAM'

*sometimes it works well, sometimes not

our mysql version is 5.0.84

our system is FreeBSD 6.2

thanks

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
 http://lists.mysql.com/mysql?unsub=claudio.na...@gmail.com




 --
 Claudio





-- 
Claudio


Re: Lost connection to MySQL server during query

2009-09-09 Thread stutiredboy

the application program and mysql server are in the same host
and i have add skip-name-resolv to the my.cnf and
extend the max_allowed_packet from 16M to 32M

our application connected to mysql server from mysql.sock

before the query which cause lost connection to MySQLserver..
we only ran some sql that create table(s)

i have read this article 
http://dev.mysql.com/doc/refman/5.1/en/gone-away.html

and can get rid of the problems this article referred

it seems that our problem is similar to this bug:
http://lists.mysql.com/commits/9447
http://bugs.mysql.com/bug.php?id=15752

but, this bug has been fixed in 5.0.25

are there any suggestions ? or any other informaion (s) should i post here?

thanks!

stutiredboy


Claudio Nanni wrote:

Can you provide more details?
network layout, type of client/app used, connectors,etc,etc?
Thanks

Claudio


2009/9/9 stutiredboy stutired...@gmail.com 
mailto:stutired...@gmail.com


hi,all:

we met a problem that:

* Lost connection to MySQL server during query
SHOW TABLE STATUS WHERE ENGINE='MyISAM'

*sometimes it works well, sometimes not

our mysql version is 5.0.84

our system is FreeBSD 6.2

thanks

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:  
 http://lists.mysql.com/mysql?unsub=claudio.na...@gmail.com





--
Claudio



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



Upgrading from 5.0.32 via a replication chain and bug 24432

2009-09-09 Thread David Harrison
Hi all,

I've got a quite large database (23G) that is running on a 5.0.32
version of MySQL.  I really want to upgrade out of 5.0.32 to the
latest version of 5.1 (or even 5.4) but a straight mysql_upgrade of
the database takes long enough that I'd have serious down-time issues
(last time I benchmarked the upgrade it came in at over day).

To try and work around this I wanted to set up binary replication from
my current database (as master) to a new database.  This has meant
that I have run across bug #24432
(http://bugs.mysql.com/bug.php?id=24432) which means that replication
is broken from my current version to versions above 5.0.34.

The bug listing includes the following replication table:

  master  (-inf, 5.0.23)[5.0.24, 5.0.34]  [5.0.36,+inf)
slave
(-inf, 5.0.23)BUG#20188 both bugs, no error   BUG#20188
[5.0.24, 5.0.34]  this bug, no errorno bugthis bug, no error
[5.0.36, +inf)no bugthis bug, error   no bug

which seems to indicate to me that there's no way out of the version
I'm running aside from a mysql_upgrade.

Does anyone have experience of this bug, or of any options I have that
wouldn't require a significant outage ?

Cheers
Dave

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



Re: Upgrading from 5.0.32 via a replication chain and bug 24432

2009-09-09 Thread Per Jessen
David Harrison wrote:

 Hi all,
 
 I've got a quite large database (23G) that is running on a 5.0.32
 version of MySQL.  I really want to upgrade out of 5.0.32 to the
 latest version of 5.1 (or even 5.4) but a straight mysql_upgrade of
 the database takes long enough that I'd have serious down-time issues
 (last time I benchmarked the upgrade it came in at over day).

This may or may not be useful, but I've just upgraded from 5.0.51 to
5.1.36, which took about 6 hours using mysqldump+reload - the database
is about 20Gb. 


/Per Jessen, Zürich


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



ANN: AnySQL Maestro 9.8 released

2009-09-09 Thread SQL Maestro Team
Hi!

SQL Maestro Group announces the release of AnySQL Maestro 9.8, a
powerful tool for managing any database engine accessible via ODBC
driver or OLE DB provider (MySQL, SQL Server, Oracle, Access, etc).

The new version is immediately available at
http://www.sqlmaestro.com/products/anysql/maestro/

This version features major improvements in Visual Query Builder, Data
Export and Data Import tools, significantly updated Data Grid and a
lot of other useful things. Full press-release (with explaining
screenshots) is available at:
http://www.sqlmaestro.com/news/company/anysql_maestro_9_8_released/

Starting with this version AnySQL Maestro comes in two editions:
Freeware and Professional. The feature matrix can be found at
http://www.sqlmaestro.com/products/anysql/maestro/free_vs_pro/

AnySQL Maestro has been successfully tested with all the latest
official MySQL ODBC drivers and all the latest MySQL servers v. 5.0
and 5.1.

Background information:

SQL Maestro Group is engaged in developing complete database admin and
management tools for MySQL, Oracle, MS SQL Server, DB2, PostgreSQL,
SQL Anywhere, SQLite, Firebird and MaxDB providing the highest
performance, scalability and reliability to meet the requirements of
today's database applications.

Sincerely yours,
The SQL Maestro Group Team
http://www.sqlmaestro.com

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org