MariaDB:Delete Database: Difference between revisions

No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
*Memperlihatkan seluruh database yang tersedia
*Memperlihatkan seluruh database yang tersedia
SHOW DATABASES;
<syntaxhighlight lang="bash">
 
sudo mysql -u root
'''Output'''
</syntaxhighlight><syntaxhighlight lang="sql">
SHOW DATABASES;
</syntaxhighlight>'''Output'''
  mysql> SHOW DATABASES;
  mysql> SHOW DATABASES;
  +--------------------+
  +--------------------+
Line 15: Line 17:


*Menghapus database
*Menghapus database
DROP DATABASE namedatabase;
<syntaxhighlight lang="sql">
DROP DATABASE namedatabase;
</syntaxhighlight>


==Source==
==Source==
*[https://bit.ly/3Fwg4Sv gridscale.io]
*[https://gridscale.io/en/community/tutorials/mysql-datenbank-erstellen-loeschen/ gridscale.io]


[[Category:Server]]
[[Category:Server]]
[[Category:Database]]
[[Category:Database]]