คำสั่งที่ใช้ในการจัดการฐานข้อมูลได้แก่
1.คำสั่งสร้างฐานข้อมูล
CREATE DATABASE ชื่อฐานข้อมูล;
2.คำสั่งเปิดใช้ฐานข้อมูล
USE ชื่อฐานข้อมูล;
3.คำสั่งแสดงชื่อฐานข้อมูลที่มีอยู่ในดาต้าเบสเซิร์ฟเวอร์
SHOW DATABASES;
4.คำสั่งลบฐานข้อมูล
DROP DATABASE ชื่อฐานข้อมูล;
คำสั่งจัดการฐานข้อมูล MySQL
Moderators: mindphp, ผู้ดูแลกระดาน
-
- Similar Topics
- Replies
- Views
- Last post
-
-
อัพเกรด Mysql Ubuntu จาก MySQL 5.5 เป็น MySQL 5.7
by mindphp » 12/06/2016 5:57 pm » in Linux - Web Server - 1 Replies
- 1295 Views
-
Last post by mindphp
12/06/2016 5:58 pm
-
-
-
ปัญหา MySQL is running but PID file could not be found พบบ่อยกับ Innodb ของ Mysql เพราะพื้นที่ไม่พอ
by mindphp » 13/11/2016 9:00 pm » in Linux - Web Server - 2 Replies
- 1379 Views
-
Last post by mindphp
09/03/2017 8:21 pm
-
-
-
วิธีการหา Error ของการ Insert ข้อมูลลงฐานข้อมูล Mysql โดยใช้ Mysql
by Patipat » 17/06/2019 5:42 pm » in SQL Knowledge - 0 Replies
- 2328 Views
-
Last post by Patipat
17/06/2019 5:42 pm
-
-
-
ปัญหา MySQL unknown column 'password_last_changed' หลังการอัพเกรด MySQL เป็นเวอร์ชั่น 5.7
by mindphp » 13/06/2016 5:42 pm » in SQL - Database - 1 Replies
- 1317 Views
-
Last post by mindphp
13/06/2016 5:44 pm
-
-
-
ปรับเวลาใน Mysql เพิ่ม จำนวนวันใน mysql ตามต้องการ ด้วย DATE_ADD
by mindphp » 01/07/2011 12:04 am » in SQL - Database - 0 Replies
- 2379 Views
-
Last post by mindphp
01/07/2011 12:04 am
-
-
- 0 Replies
- 862 Views
-
Last post by mindphp
23/09/2016 12:21 am
-
-
เจอปัญหา Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [2002] บน FreeBSD
by mindphp » 23/07/2017 3:08 am » in Linux - Web Server - 1 Replies
- 1175 Views
-
Last post by mindphp
23/07/2017 3:20 am
-
-
-
วิธีการใช้งาน MySql Workbench สร้าง ER สร้างตาราง, ควบคุม Mysql Server ทั้ง Host
by samsonnaze3 » 03/04/2012 1:45 pm » in Share Knowledge - 21 Replies
- 30545 Views
-
Last post by samsonnaze3
03/04/2012 2:57 pm
-
Who is online
Users browsing this forum: No registered users and 5 guests