墨天轮在线实训平台V1.0发布,免费提供部署好的数据库线上环境,可以随时随地打开浏览器学习,一键连接Linux WEB终端,目前已支持Oracle、MySQL、Redis、PostgreSQL、openGauss、MogDB。
秉承乐知乐享同心共济的愿景,现对广大技术爱好者开放免费90天限时申请:墨天轮->云市场->云上资源 云市场 - 墨天轮
如下是MySQL实训环境,使用chrome浏览器一键连接到底层操作系统命令行终端,可以进行操作系统命令学习,可以连接到数据库做任何操作、测试、实验。
同时将Oracle经典的HR学习示例Schema对所有数据库做了适配,快速初始化后可供大家学习相关对象设计和SQL。 详细初始化脚本参考:《HR Schema for MySQL 》https://www.modb.pro/db/100651
root@modb:~# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 9 Server version: 8.0.26-0ubuntu0.21.04.3 (Ubuntu) Copyright (c) 2000, 2021, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> DROP SCHEMA IF EXISTS hr; Query OK, 0 rows affected, 1 warning (0.00 sec) mysql> CREATE SCHEMA hr COLLATE = utf8_ge; neral_ciQuery OK, 1 row affected, 1 warning (0.01 sec) mysql> USE hr; Database changed mysql> select count(*) from employees; count ------- 107 (1 row)