Solved

Stubborn MySQL Table

Posted on 2014-01-02
5
422 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 19

Expert Comment

by:Patricksr1972
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 19

Expert Comment

by:Patricksr1972
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 19

Accepted Solution

by:
Patricksr1972 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can i make performance tuning to my sql query? 6 46
hosting images 4 27
MySQL Error Code 2 19
when to use sequences in mysql 4 27
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

776 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