root@Fabian-PC:/var/www/scripts# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 54
Server version: 5.5.24-0ubuntu0.12.04.1 (Ubuntu)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use meubels
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> SHOW TABLES;
+-------------------+
| Tables_in_meubels |
+-------------------+
| meubels |
+-------------------+
1 row in set (0.00 sec)
mysql> SELECT * FROM meubels;
+----+-----------+----------------------------+---------+---------------+
| id | naam | beschrijving | prijs | afbeelding |
+----+-----------+----------------------------+---------+---------------+
| 1 | Kökssofa | Zweedse grijze keukenbank. | 2750,00 | /images/1.JPG |
+----+-----------+----------------------------+---------+---------------+
1 row in set (0.00 sec)
mysql>