Svih 7 programa sam uspješno kompajlirao i pokrenuo na računaru, kada pokrenem poslednji program ne prikaže mi sliku:
$ ./6mysqlc
$ ./7mysqlc
$
Kada napišem upit, izbaci mi ne znam ni ja koliko redova znakova (kopirao sam poslednja dva reda , umjesto ostalih sam stavio . . .):
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 69
Server version: 5.1.41-3ubuntu12.3 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use testdb;
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_testdb |
+------------------+
| friends |
| images |
| writers |
+------------------+
3 rows in set (0.00 sec)
mysql>SELECT data FROM images WHERE id=1;
. . .
---------------------------------------------------------------------------------------------+
1 row in set (0.02 sec)
mysql> 62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c
Zašto mi ne prikaže sliku? Pokušao sam i sa image.jpg.