Bug #51312 Doing dump just hangs (for any database)
Submitted: 19 Feb 2010 9:35 Modified: 3 Apr 2010 20:45
Reporter: Ralph Martin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.17 OS:MacOS (10.6.3)
Assigned to: CPU Architecture:Any
Tags: dump, hang

[19 Feb 2010 9:35] Ralph Martin
Description:
Trying to dump any database just hangs.

Choose a database and tables to dump, press Start Export.
Progress bar "Export is running" comes up
but then nothing further happens. Progress bar stays stuck at the beginning.

Looking at the dump file requested, two lines are written to it, e.g. 
CREATE DATABASE  IF NOT EXISTS `test` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci */;
USE `test`;
but nothing further.

Happens for every database I tried (databases are on local server on same machine as MySQL Workbench.

How to repeat:
Connect to a server
Choose a database (any)
Select its tables.
Try to do a dump (doesn't matter if you do self-contained files or all one file)
Hit Start Export.

Happens for every database, even trivially small ones.
[19 Feb 2010 9:36] Ralph Martin
The log window for the above example just shows

09:21:14 Dumping test (words)
Running: /Applications/Tools/MySQL Tools/MySQLWorkbench.app/Contents/Resources/mysqldump --defaults-extra-file=/var/folders/1J/1JdqPU9H2RWZdk+8ZMx9g++++TI/-Tmp-/tmpHZ3sB0/extraparams  --no-create-info=FALSE --order-by-primary=FALSE --force=FALSE --no-data=FALSE --tz-utc=TRUE --flush-privileges=FALSE --compress=FALSE --replace=FALSE --host=127.0.0.1 --insert-ignore=FALSE --extended-insert=TRUE --user=root --quote-names=TRUE --hex-blob=FALSE --complete-insert=FALSE --port=3306 --disable-keys=TRUE --delayed-insert=FALSE --delete-master-logs=FALSE --routines=FALSE --comments=TRUE --add-locks=TRUE --flush-logs=FALSE --dump-date=TRUE --allow-keywords=FALSE --create-options=TRUE --events=FALSE "test" "words"
[19 Feb 2010 10:07] Johannes Taxacher
Hello Ralph,

to which server (version and platform) are you connected (locally on your osx box or to some other platform over ssh)?
[19 Feb 2010 10:30] Ralph Martin
Server is 5.1.44, MacOS X x86_64 10,6 connected locally.
[19 Feb 2010 10:38] Susanne Ebrecht
Please provide the error log from server from the time when you tried to dump.
[19 Feb 2010 11:03] Ralph Martin
There's nothing much in the error log:
100219 09:03:15 mysqld_safe mysqld from pid file /usr/local/mysql/data/ralph.cs.cf.ac.uk.pid ended
100219 09:05:15 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
100219  9:05:15 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitive
100219  9:05:15 [Note] Plugin 'FEDERATED' is disabled.
100219  9:05:15  InnoDB: Started; log sequence number 0 44233
100219  9:05:15 [Note] Event Scheduler: Loaded 0 events
100219  9:05:15 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.1.44'  socket: '/tmp/mysql.sock'  port: 3306  MySQL Community Server (GPL)
Other logging is off by default, I guess.

Here is other log stuff concerning MySQL workbench

19/02/2010 9:07:32AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	** (process:23001): WARNING **: :717: link 'com.mysql.wb.menu.view.advanced' <object app.MenuItem> key=owner could not be resolved
19/02/2010 9:07:32AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	** (process:23001): WARNING **: /Users/ralph/Library/Application Support/MySQL/Workbench/wb_options.xml:324: link 'C5866B74-94FE-4A95-BD97-7E0E88C372AA' <object GrtObject> key=owner could not be resolved
19/02/2010 9:08:09AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	Checking command 'ps -cxa | grep [m]ysqld'
19/02/2010 9:08:09AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	Server detected as stopped
19/02/2010 9:08:09AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	Check if /etc/my.cnf exists locally
19/02/2010 9:09:10AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	Check if /etc/my.cnf exists locally
19/02/2010 9:09:12AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	Check if /etc/my.cnf exists locally
19/02/2010 9:09:12AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	Check if mysqld section exists in /etc/my.cnf
19/02/2010 9:10:34AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	read_mysql_cfg_file 
19/02/2010 9:10:34AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	 
19/02/2010 9:10:34AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	/etc/my.cnf
19/02/2010 9:10:34AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	Parsing options only from section
19/02/2010 9:10:34AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	 
19/02/2010 9:10:34AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	mysqld
19/02/2010 9:10:37AM	MySQLWorkbench[23001]	*** WARNING: Method selectRow:byExtendingSelection: in class NSOutlineView is deprecated. It will be removed in a future release and should no longer be used.
19/02/2010 9:13:01AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	AttributeError
19/02/2010 9:13:01AM	[0x0-0x4c04c].com.sun.MySQLWorkbench[23001]	: shutdown
19/02/2010 9:14:10AM	[0x0-0x54054].com.sun.MySQLWorkbench[23330]	Debug level -
19/02/2010 9:14:10AM	[0x0-0x54054].com.sun.MySQLWorkbench[23330]	 
19/02/2010 9:14:10AM	[0x0-0x54054].com.sun.MySQLWorkbench[23330]	0
19/02/2010 9:14:10AM	[0x0-0x54054].com.sun.MySQLWorkbench[23330]	** (process:23330): WARNING **: :718: link 'com.mysql.wb.menu.view.advanced' <object app.MenuItem> key=owner could not be resolved
19/02/2010 9:14:10AM	[0x0-0x54054].com.sun.MySQLWorkbench[23330]	** (process:23330): WARNING **: :15: link '75A5D8E0-56BA-4786-A58C-B69242483C0D' <object GrtObject> key=owner could not be resolved
19/02/2010 9:14:10AM	[0x0-0x54054].com.sun.MySQLWorkbench[23330]	** (process:23330): WARNING **: :26: link '75A5D8E0-56BA-4786-A58C-B69242483C0D' <object GrtObject> key=owner could not be resolved
19/02/2010 9:15:10AM	[0x0-0x54054].com.sun.MySQLWorkbench[23330]	AttributeError
19/02/2010 9:15:10AM	[0x0-0x54054].com.sun.MySQLWorkbench[23330]	: shutdown
19/02/2010 9:15:20AM	[0x0-0x57057].com.sun.MySQLWorkbench[23434]	Debug level -
19/02/2010 9:15:20AM	[0x0-0x57057].com.sun.MySQLWorkbench[23434]	 
19/02/2010 9:15:20AM	[0x0-0x57057].com.sun.MySQLWorkbench[23434]	0
19/02/2010 9:15:20AM	[0x0-0x57057].com.sun.MySQLWorkbench[23434]	** (process:23434): WARNING **: :718: link 'com.mysql.wb.menu.view.advanced' <object app.MenuItem> key=owner could not be resolved
19/02/2010 9:16:52AM	[0x0-0x57057].com.sun.MySQLWorkbench[23434]	AttributeError
19/02/2010 9:16:52AM	[0x0-0x57057].com.sun.MySQLWorkbench[23434]	: shutdown
19/02/2010 9:18:42AM	[0x0-0x5d05d].com.sun.MySQLWorkbench[23631]	Debug level -
19/02/2010 9:18:42AM	[0x0-0x5d05d].com.sun.MySQLWorkbench[23631]	 
19/02/2010 9:18:42AM	[0x0-0x5d05d].com.sun.MySQLWorkbench[23631]	0
19/02/2010 9:18:42AM	[0x0-0x5d05d].com.sun.MySQLWorkbench[23631]	** (process:23631): WARNING **: :718: link 'com.mysql.wb.menu.view.advanced' <object app.MenuItem> key=owner could not be resolved
19/02/2010 9:38:05AM	[0x0-0x5d05d].com.sun.MySQLWorkbench[23631]	AttributeError
19/02/2010 9:38:05AM	[0x0-0x5d05d].com.sun.MySQLWorkbench[23631]	: shutdown
[19 Feb 2010 11:08] Susanne Ebrecht
Many thanks for your fast feedback.

On which OS is the server running?
Is the server local or remote?
[19 Feb 2010 11:15] Ralph Martin
I already answered that, I think:

Server is 5.1.44, MacOS X x86_64 10.6 connected locally.
[19 Feb 2010 16:31] Valeriy Kravchuk
I can not repeat this with 5.2.16 on Mac OS 10.5.6 and local 5.1.45 server. I can export any database/tables easily.
[19 Feb 2010 16:34] Ralph Martin
I am using 10.6.x.
[19 Feb 2010 18:01] Ralph Martin
I have been able to reproduce the problem on a second machine, running
MacOS X 10.6.2
MySQL 5.1.43 (64 bit); on localhost
MySQL Workbench 5.2.16 beta; connection made via tcp/ip not socket
[3 Apr 2010 16:05] Valeriy Kravchuk
Please, check if this is still repeatable with a newer version, 5.2.17.
[3 Apr 2010 20:45] Ralph Martin
Problem no longer exists in 5.2.17.

Thanks!