Next:
Tables 資料表
Up:
Database 資料庫
Previous:
刪除資料庫
Contents
DYWANG_HOME
實機操作練習題
以下列步驟完成 mariadb 資料庫建立、刪除。
遠端登入 kvm3 虛擬機。
以 root 身份登入 mariadb。
產生資料庫 dbx。
建立 createdb.php 產生資料庫 dbxphp。
建立 selectdb.php 選取資料庫 dbxphp,無法選取時印出錯誤訊息(Error:......),成功選取資料庫,印出 "Use Database dbxphp",其中 dbxphp 隨變數更動。
建立 dropdb.php 刪除資料庫 dbxphp。