Creating MyISAM Table in Azure database for MySQL is enable?

核能气质少年 提交于 2019-12-04 23:37:27

问题


When I create table that engine is MyISAM in Azure database for Mysql, Got Error "ERROR 1030 (HY000): Got error 1 from storage engine"

How do I fix it? or can I use MyISAM table in Azure database for MySQL?


回答1:


Correct - MYISAM is not supported in Azure Database for MySQL, primarily due to the lack of transaction support which can potentially lead to data loss. This is one of the reasons MySQL switched over to InnoDB as the default.

Jason Azure DB for MySQL team




回答2:


As far as i know MYISAM is not supported in Azure database for MySQL. I'd suggest you switch to InnoDB instead.

In addition, I've also found a similar feedback in Azure feedback site.I'd suggest you keep track of that to see if anything changes.

Regards,
Lin




回答3:


So I had the same issue but getting this error on my local mysql database. I would suggest that the first thing you do is check the storage engine.

In my case it turned out that the storage engine was ARCHIVE and changing this to InnoDB solved the issue.



来源:https://stackoverflow.com/questions/43973881/creating-myisam-table-in-azure-database-for-mysql-is-enable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!