-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysql-create-database.html
155 lines (107 loc) · 3.38 KB
/
mysql-create-database.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lang="en">
<head>
<title>日记</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/styles/agate.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/highlight.min.js"></script>
<script>
$(document).ready(function() {
$('pre code').each(function(i, block) {
hljs.highlightBlock(block);
});
});
</script>
</head>
<style>
a{
color: white;
}
span{
color: white;
}
.top-buffer{
margin-top: 40px;
}
/* Make the image fully responsive */
.carousel-inner img {
width: 100%;
height: 100%;
}
.qq_barcode{
width: 20%;
height: 20%;
}
.link-space{
margin: 0 10px;
}
</style>
<body style="background-color: #F8ECC2 ">
<nav class="navbar navbar-expand-md bg-dark navbar-dark">
<a class="navbar-brand" href="#">日记</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav">
<li class="breadcrumb-item"><a href="#">学习</a></li>
<li class="breadcrumb-item"><a href="#">编程</a></li>
<li class="breadcrumb-item"><a href="#">数据</a></li>
<li class="breadcrumb-item"><a href="#">MySQL</a></li>
<li class="breadcrumb-item active">MySQL如何创建数据库</li>
</ul>
</div>
</nav>
<br>
<div class="container" >
<h3>MySQL如何创建数据库</h3>
<p>CREATE DATABASE 数据库名;</p>
<pre><code class="sql">
CREATE DATABASE DEMO;
</code></pre>
<h3>MySQL如何删除数据库</h3>
<p>CREATE DATABASE 数据库名;</p>
<pre><code class="sql">
DROP DATABASE DEMO;
</code></pre>
<hr/>
</div>
<!-- Footer -->
<footer class="page-footer font-small stylish-color-dark pt-4">
<!-- Social buttons -->
<ul class="list-unstyled list-inline text-center">
<li class="list-inline-item">
<a class="btn-floating btn-fb mx-1">
<i class="fa fa-facebook"> </i>
</a>
</li>
<li class="list-inline-item">
<a class="btn-floating btn-tw mx-1">
<i class="fa fa-twitter"> </i>
</a>
</li>
<li class="list-inline-item">
<a class="btn-floating btn-gplus mx-1">
<i class="fa fa-google-plus"> </i>
</a>
</li>
<li class="list-inline-item">
<a class="btn-floating btn-li mx-1">
<i class="fa fa-linkedin"> </i>
</a>
</li>
</ul>
<!-- Social buttons -->
<!-- Copyright -->
<div class="footer-copyright text-center py-3">© 2018 </div>
<!-- Copyright -->
</footer>
<!-- Footer -->
</body>
</html>