[英]What field types and storage engine are recommended for a user table in MySQL?
I have my PhpMyAdmin SQL table for users 我有供用户使用的PhpMyAdmin SQL表
Name [id, username, password, email, website, status(1,2), role(1,2)]
Type [INT, VARCHAR, VARCHAR, VARCHAR, TEXT, VARCHAR, VARCHAR]
INDEX [PRIMARY, INDEX, INDEX, INDEX, INDEX, INDEX, INDEX]
How do i fix this? 我该如何解决? And what Storage Engine do you recommend me to use?
您建议我使用什么存储引擎? And is there a better way for databases that would exceed the limited size?
对于超出限制大小的数据库,是否有更好的方法? maybe something not Maria Db?
也许不是Maria Db? or this is the best for PHP?
还是这是最适合PHP的?
You should consider: 您应该考虑:
You can take a look at https://dev.mysql.com/doc/refman/5.6/en/column-indexes.html for more directions about indexes. 您可以查看https://dev.mysql.com/doc/refman/5.6/en/column-indexes.html,以获取有关索引的更多说明。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.