1. Koneksi Ke Mysql

  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 1. Koneksi Ke Mysql as PDF for free.

More details

  • Words: 138
  • Pages: 1
Langkah-langkah untuk bekerja dengan mysql 1. lakukan konenksi ke server mysql perintahnya: mysql -u root ------TAMPILANNYA---------------bash-3.1# mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.0.51a Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> ---- END OF TAMPILAN-----------------------2 masuk ke database yang hendak digunakan. perintahnya: use untuk mengetahui database apa saja yang ada di server mysql, gunakan perintah: "show databases" ------TAMPILAN---------------mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | cdcol | | mysql | | penjualan | | phpmyadmin | | test | +--------------------+ 6 rows in set (0.01 sec) mysql> use penjualan; Database changed mysql> ----------------END OF TAMPILAN--------------

3. Jika telah masuk ke database yang diinginkan, Kita telah bisa bekerja sebagaimana mestinya.

Related Documents