用phpMyAdmin创建一个简单MySQL数据库表

You’ll find a lot of tutorials go straight to the command line. While there’s a lot that’s right about that approach – the command line is precise, and always works so long as you type commands correctly – its precision and bare-bones interface is also intimidating to new users. Instead, here I’ll do a light, basic introduction to creating a database table via phpMyAdmin.

您会发现很多教程直接进入命令行。 尽管该方法有很多正确的地方-命令行很精确,并且只要您正确键入命令就可以正常工作-但它的精确性和准系统界面也使新用户感到恐惧。 相反,在这里,我将对通过phpMyAdmin创建数据库表进行简单的基本介绍。

phpAdmin Create DatabaseFirst, you have to set up a database to contain your table. The name of this database can be almost anything, but should follow
standard web naming conventions, with the addition that you should avoid underscores in the name. Click on the Databases tab and enter the name of the database that will contain your tables.

标准的Web命名约定 ,此外还应避免在名称中使用下划线。 单击数据库选项卡,然后输入将包含表的数据库的名称。

“Collation” is essentially the default character encoding for the database and any tables stored inside it. As a general rule, we should use the same encoding we use on everything else (HTML, CSS, files): utf-8. In phpMyAdmin, there are a bunch of options for this: we’ll stick to utf-8_general_ci.

本质上,“归类”是数据库及其中存储的任何表的默认字符编码。 通常,我们应该使用与其他所有代码( HTMLCSS ,文件)相同的编码: utf-8 。 在phpMyAdmin

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值