跳到主要内容
学院
中级 代码街区

MySQL

Web 上部署最广泛的开源数据库。

MySQL is the open-source database behind WordPress, countless PHP and Laravel apps, and some of the largest sites on the web. You already speak SQL from the SQL track, so this course maps what you know onto MySQL 8.4 LTS and shows where it differs from PostgreSQL: the mysql client, data types, utf8mb4 for Persian text and emoji, InnoDB and its clustered primary key, EXPLAIN, transactions under REPEATABLE READ, upserts with ON DUPLICATE KEY UPDATE, least-privilege users and backups you can actually restore.

Every lesson is short and practical, and the result sets stay tiny, so you can check every answer by eye.

课时
14
时长
2 小时
级别
中级

本课程的内容目前为英文。

  • 铜牌 可挑战
  • 银牌 可挑战
  • 金牌 未解锁

准备好证明自己了吗?

三场考试正等着你:铜牌、银牌和金牌。

前往考试

学完后你将能够

  • Connect with the mysql client and find your way around databases and tables
  • Translate PostgreSQL habits into MySQL: AUTO_INCREMENT, booleans, DATETIME and TIMESTAMP
  • Store Persian text and emoji safely with utf8mb4
  • Read EXPLAIN and design indexes around InnoDB's clustered primary key
  • Use transactions and INSERT ... ON DUPLICATE KEY UPDATE correctly
  • Create least-privilege users and take backups you can restore

学习旅程

  1. 1
    第 1 单元

    MySQL for SQL people

    Where MySQL runs, the mysql client, the data types that differ from PostgreSQL, and utf8mb4.

    0 / 4
  2. 2
    第 2 单元

    Running MySQL well

    InnoDB and indexes, transactions, upserts, users and backups.

    0 / 6
  3. 3
    第 3 单元

    Next steps

    Replication, slow queries, JSON columns and changing big tables without downtime.

    0 / 4

快速导航