Solved

Stubborn MySQL Table

Posted on 2014-01-02
5
423 Views
Last Modified: 2014-01-02
Say,

I have a MySQL database & no matter how hard i try to remove this table - it just wont delete. It is only 4.4kB in size. How can i solve this problem??...Any method please.

Can you kindly tell me how can I distinguish which version of MySQL we are running - I believe its ver 5.5 but not sure.

TX
0
Comment
Question by:shaunwingin
  • 3
  • 2
5 Comments
 
LVL 22

Expert Comment

by:Patrick Bogers
ID: 39750950
What version is simply running   mysql   command.
Or run a query like:       SHOW VARIABLES LIKE "%version%";

About this database, what are you trying and what is the output?
0
 

Author Comment

by:shaunwingin
ID: 39751004
Tx: This is result: innodb_version 5.5.33
 
version 5.5.33-0+wheezy1

I've several tables and the engine is MYIsam. They all can be opened fine except for 1 table. I can see table structure but if I try view data or drop the table the interface (Heidi MySQL) hangs.

Is the MyIsam engine an issue as it seems this db uses innodb... ?
0
 
LVL 22

Expert Comment

by:Patrick Bogers
ID: 39751049
One would think so yes
0
 

Author Comment

by:shaunwingin
ID: 39751077
What is diff between the 2 engines?How can I convert from one engine to the other easily as have several tables already in MyIsam.
0
 
LVL 22

Accepted Solution

by:
Patrick Bogers earned 500 total points
ID: 39751099
Diiference between the two a quiet big actualy. Have a look at a drawing here.

Innodb is nowadays the engine to choose but myisam engine is used by PhpMyAdmin.

How to convert myisam to innodb is described in this link. It drums down to ' ALTER TABLE tablename ENGINE = INNODB; '

Cheers
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question