MariaDB:Delete Database: Difference between revisions
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
*Memperlihatkan seluruh database yang tersedia | *Memperlihatkan seluruh database yang tersedia | ||
<syntaxhighlight lang="bash"> | |||
sudo mysql -u root | |||
</syntaxhighlight><syntaxhighlight lang="sql"> | |||
SHOW DATABASES; | |||
'''Output''' | </syntaxhighlight>'''Output''' | ||
mysql> SHOW DATABASES; | mysql> SHOW DATABASES; | ||
+--------------------+ | +--------------------+ | ||
| Line 17: | Line 17: | ||
*Menghapus database | *Menghapus database | ||
<syntaxhighlight lang="sql"> | |||
DROP DATABASE namedatabase; | |||
</syntaxhighlight> | |||
==Source== | ==Source== | ||