-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdatabaseCreation.sql
More file actions
37 lines (32 loc) · 1.04 KB
/
databaseCreation.sql
File metadata and controls
37 lines (32 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Setting environment for using XAMPP for Windows.
xxxxx@xxxxx c:\xxxxxxxxx\xampp
# mysql -u root -p
Enter passwords:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 10.1.21-MariaDB mariadb.org binary distribution
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement....
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| xxxxxxxxxxx |
| information_schema |
| xxxxxxxxxxx |
| xxxxxxxxxxx |
| mysql |
| performance_schema |
| phpmyadmin |
| xxxxxxxxxxx |
| xxxxxxxxxxx |
+--------------------+
9 rows in set (0.86 sec)
MariaDB [(none)]> create database CustomerDB;
Query OK, 1 row affected (0.89 sec)
MariaDB [(none)]> create database peopleDB;
Query OK, 1 row affected (0.89 sec)
MariaDB [(none)]> use CustomerDB;
Database changed
MariaDB [CustomerDB]> exit
Bye