Merge pull request #18264 from yahonda/rename_index_mysql

Raise a better exception for renaming long indexes for mysql adapters