LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-03-2008, 10:28 AM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Rep: Reputation: 40
Any body using mysql query browser GUI? i need help...


Hi, i'm using 10.3 and mysql query browser does not work on 10.3. It hangs when i select a schema.

I do not know if this is the place to ask my question, but i do hope if i can find some help here.

I check on the net and found there is a patch to solve the problem.

Code:
diff -ruN mysql-gui-tools-5.0r11.ORIG/mysql-query-browser/source/linux/MQQueryDispatcher.cc mysql-gui-tools-5.0r11/mysql-query-browser/source/linux/MQQueryDispatcher.cc
--- mysql-gui-tools-5.0r11.ORIG/mysql-query-browser/source/linux/MQQueryDispatcher.cc	2007-02-21 01:31:19.000000000 +0000
+++ mysql-gui-tools-5.0r11/mysql-query-browser/source/linux/MQQueryDispatcher.cc	2007-11-09 15:31:38.000000000 +0000
@@ -558,8 +558,8 @@
 
   Gtk::Main::instance()->run();
 
-  while(!req->is_complete())
-    ;
+//  while(!req->is_complete())
+//    ;
 
   return sps;
 }
The above codes are the patch which i get it from
http://bugs.mysql.com/file.php?id=7752&text=1

My question is how do i apply this patch? where do i apply these codes? Is there any one manage to solve this problem?
Pls let me know if there are solutions

Thanks
 
Old 02-03-2008, 01:13 PM   #2
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 222

Rep: Reputation: 35
What distribution do you use? There may be an updated package which already applied this patch.
Otherwise you need the mysql-gui-tools-5.0r11 and try to apply this patch. Sorry I am not familiar with applying patches. But the patch only changes two lines, so you can try to do it by hand:

Open 'mysql-query-browser/source/linux/MQQueryDispatcher.cc' and go to line '558'. Then comment out the two lines:
Code:
//  while(!req->is_complete())
//    ;
Basically this is what the patch is supposed to do. The configure the package and build it:
Code:
confiure [OPTIONS] && make && make install
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The MySQL Query Browser jeremy LQ Articles Discussion 3 10-15-2008 01:20 PM
mysql-query-browser wont launch ckoniecny Linux - General 1 03-09-2006 04:10 AM
mysql-query-browser thoyyib Linux - Software 1 03-01-2006 12:46 PM
MySQL Query Browser 1kyle SUSE / openSUSE 0 10-21-2005 07:40 AM
Help Error Compiling MySQL Query Browser MarcusG Linux - Software 3 02-06-2005 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration