Git Product home page Git Product logo

Comments (5)

thori0908 avatar thori0908 commented on August 11, 2024

課題1

$ mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 213
Server version: 5.5.40-log MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

mysql> create database utfDB default character set utf8;
Query OK, 1 row affected (0.00 sec)

課題2

mysql> create database anotherDB;
Query OK, 1 row affected (0.00 sec)

mysql> connect anotherDB
Connection id:    217
Current database: anotherDB

課題3

mysql> drop database anotherDB;
Query OK, 0 rows affected (0.01 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| firstDB            |
| mysql              |
| performance_schema |
| test               |
| utfDB              |
+--------------------+
6 rows in set (0.00 sec)

Ref.
http://www.yukun.info/blog/2008/10/mysql-login-user-create-database.html
http://doremi.s206.xrea.com/mysql/
http://mysql.javarou.com/dat/000575.html

from training.

fr-itaya avatar fr-itaya commented on August 11, 2024

課題1ですが、「DB一覧を表示」して作成されたかどうかの確認までお願いします!
それ以外はOKですー

from training.

thori0908 avatar thori0908 commented on August 11, 2024

課題1

$ mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 213
Server version: 5.5.40-log MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

mysql> create database utfDB default character set utf8;
Query OK, 1 row affected (0.00 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| firstDB            |
| mysql              |
| performance_schema |
| test               |
| utfDB              |
+--------------------+
6 rows in set (0.00 sec)

課題2

mysql> create database anotherDB;
Query OK, 1 row affected (0.00 sec)

mysql> connect anotherDB
Connection id:    217
Current database: anotherDB

課題3

mysql> drop database anotherDB;
Query OK, 0 rows affected (0.01 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| firstDB            |
| mysql              |
| performance_schema |
| test               |
| utfDB              |
+--------------------+
6 rows in set (0.00 sec)

Ref.
http://www.yukun.info/blog/2008/10/mysql-login-user-create-database.html
http://doremi.s206.xrea.com/mysql/
http://mysql.javarou.com/dat/000575.html

from training.

fr-matsuo avatar fr-matsuo commented on August 11, 2024

確認しました、OKです!

from training.

fr-itaya avatar fr-itaya commented on August 11, 2024

確認しました、OKですー。お疲れ様でした!

from training.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.