You can run SHOW PROCESSLIST \Gmysql in the console to view its status. I had a similar problem just a couple of hours ago, but my desk was much smaller.
Here is a list of thread states that you will definitely need. After an hour of waiting, I realized that I ALTER TABLE CREATE INDEXwas in a state Locked, I need to restart mysqld and run the statement again. At that time, I had an index built in 15 minutes.
By the way, I recommend starting the creation of the index from the mysql console, GUI tools can add some processes to the process.
source
share