僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。
linux kernelはraspbianに含まれてないはず(パッケージとしては)。
$ sudo rpi-update *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** Performing self-update % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10185 100 10185 0 0 26516 0 --:--:-- --:--:-- --:--:-- 26592 *** Relaunching after update *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom ############################################################# WARNING: This update bumps to rpi-4.0.y linux tree Be aware there could be compatibility issues with some drivers Discussion here: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=113753 ############################################################## Would you like to proceed? (y/N)
まだ上げていない。
またmysql(1)ちょこちょこ。
desc table
では簡単な構造しか分からない(それで十分なことも多いが)。
適当に検索すると、権限確認にshow full columnsがあり、
select create table $TABLE_NAMEもあった。
mysql> SHOW CREATE TABLE table_view;
すると、"View", "Create View", "character_set_client",
"collation_connection"が出てきた。
"Create View" が、
CREATE ALGORITHM=UNDEFINED DEFINER=`$USER`@`localhost` SQL SECURITY DEFINER VIEW `$VIEW_NAME` AS select `person`.`person_id` AS `PPID`,`person`.`fname` AS `firstname`,`person`.`lname` AS `lastname`,`person`.`gender` AS `M_or_F_or_N` from `person` where (`person`.`person_id` > 5)
ここまで。
リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。