You are on page 1of 1

HOW TO RUN MYSQL WORKBENCH:

1. Open services (In Control Panel or Search from Windows)


2. Find MySQL 80 and Run the service.
3. Open MySQL Workbench and log in using the password mysql
4. Choose schemas to open the database that has been imported
5. Choose Administration to import the database by click the "Data Import/Restore
Option"
or
Choose Administration to Export the database by click the "Data Export" to make
an .sql file/
to be imported to the XAMPP.
or
Create the Database to make tables from non-exist database (unimported database)

###################################################################################
#

HOW TO USE MYSQL 8.0 Command Line Client - Unicode

mysql> use hoteldb;


Database changed
mysql> select * from hotel;
+------+-----------------+------------------------------------+
| hno | name | address |
+------+-----------------+------------------------------------+
| H001 | Cempaka Indah | Jl. Arjuna 204 Bandung |
| H002 | Nyiur Indah | Jl. Merpati 125 Bandung |
| H003 | Hotel Grosvenor | Jl. Dago 268 Bandung |
| H004 | Beranda Asri | Jl. Nanas 19 Bandung |
| H005 | Milenium | Jl. Dago 47 Bandung |
| H006 | Valley Resort | Jl. Terusan Rajawali 44 Bandung |
| H007 | Gianyar Hotel | Jl. Sisingamangraja No. 15-20 Bali |
+------+-----------------+------------------------------------+
7 rows in set (0.00 sec)

mysql>

You might also like