You have to drop the foreign key. Foreign keys in MySQL automatically create an index on the table (There was a SO Question on the topic).
ALTER TABLE mytable DROP FOREIGN KEY mytable_ibfk_1 ;
More Related Contents:
- i have an error which i dont understand. can you help me? [closed]
- MySQL select 10 random rows from 600K rows fast
- How do you use the “WITH” clause in MySQL?
- Simulate lag function in MySQL
- mysql error 1364 Field doesn’t have a default values
- SQL: What is the default Order By of queries?
- MySQL Split Comma Separated String Into Temp Table
- How to group by week in MySQL?
- Can I use a function for a default value in MySql?
- Access Denied for User ‘root’@’localhost’ (using password: YES) – No Privileges?
- Get record counts for all tables in MySQL database
- Mysql order by specific ID values
- How do I check if a column is empty or null in MySQL?
- Use MySQL spatial extensions to select points inside circle
- MySQL versus PDO [duplicate]
- Mysql string split [duplicate]
- Increment a database field by 1
- Measuring actual MySQL query time
- Am I Using JDBC Connection Pooling?
- MySQL VARCHAR Lengths and UTF-8
- mysql transaction – roll back on any exception
- Row number per group in mysql
- Find and replace entire MySQL database
- How do I refer to capture groups in a MySQL regex?
- What is the default MySQL JOIN behaviour, INNER or OUTER?
- How to get the mysql table columns data type?
- How to export / dump a MySql table into a text file including the field names (aka headers or column names)
- MySQL: set field default value to other column
- CREATE command denied to user?
- What is the MAX number if I store int(255) in MySQL?