| 103 | |
| 104 | |
| 105 | {{{ |
| 106 | $ ./mysqltest 192.168.1.106 pi raspberry test "select * from abc;" |
| 107 | **srv [192.168.1.106] user [pi] pass [raspberry] db [test] q [select * from abc;] |
| 108 | *** |
| 109 | affected -1 |
| 110 | P_Id,LastName,FirstName,Address,City, |
| 111 | 2,Hancock,(null),(null),Chicago, |
| 112 | $ |
| 113 | }}} |
| 114 | |
| 115 | {{{ |
| 116 | $ ./mysqltest 192.168.1.106 pi raspberry test "insert into abc (P_Id,LastName,FirstName,Address,City) values (5,'ZZZZZ','ABCD','123 Oak st','Somewhere');" |
| 117 | **srv [192.168.1.106] user [pi] pass [raspberry] db [test] q [insert into abc (P_Id,LastName,FirstName,Address,City) values (5,'ZZZZZ','ABCD','123 Oak st','Somewhere');] |
| 118 | *** |
| 119 | affected 1 |
| 120 | $ $ ./mysqltest 192.168.1.106 pi raspberry test "select * from abc;" |
| 121 | **srv [192.168.1.106] user [pi] pass [raspberry] db [test] q [select * from abc;] |
| 122 | *** |
| 123 | affected -1 |
| 124 | P_Id,LastName,FirstName,Address,City, |
| 125 | 2,Hancock,(null),(null),Chicago, |
| 126 | 5,ZZZZZ,ABCD,123 Oak st,Somewhere, |
| 127 | $ |
| 128 | |
| 129 | }}} |