EN
MySQL - how to view indexes of a table?
2
answers
0
points
Do you know how to view indexes of a table in MySQL?
2 answers
0
points
I found a solution to the problem.
Query:
SHOW INDEX FROM `table_name` FROM `database_name`;
or
SHOW INDEX FROM `database_name`.`table_name`;
0 comments
Add comment
0
points
Another solution when already using database is the following query:
SHOW INDEXES FROM `table_name`;
0 comments
Add comment