March 2020 Archives

MySQL store login info

user-pic
Vote 0 Votes

mysql_config_editor 可以將 MySQL 登入資訊存入, 實際上是編碼後的資料存在 ~/.mylogin.cnf
可以避免密碼出現在 script 內

設定
mysql_config_editor set --login-path=dbname -u user -p -h host

使用
mysql --login-path=dbname

列出現有資訊
mysql_config_editor print --all

CentOS 7/8 set locale

user-pic
Vote 0 Votes

列出可用的 locale 清單
locale -a 或 localectl list-locales

在 CentOS 8 若安裝時沒有選中文,會看不到 zh_TW.utf8
它把語言包拆分了,要另外安裝
yum -y install glibc-langpack-zh langpacks-zh_TW

設定
localectl set-locale zh_TW.utf8
CentOS 7 需使用 localectl set-locale LANG=zh_TW.utf8
不然會出現錯誤訊息 Failed to issue method call: Invalid Locale data.

Winbox 3.20 Download

user-pic
Vote 0 Votes

Winbox 3.21 增加了字型放大縮小功能(Zoom In/Zoom Out), 但是字型卻不能調, 整個好醜, 還是 3.20 好用

Winbox 3.20 (32-bit) (Official Download)
Winbox 3.20 (64-bit) (Official Download)

Winbox 3.20 (32-bit) (Backup Download)
Winbox 3.20 (64-bit) (Backup Download)

About this Archive

This page is an archive of entries from March 2020 listed from newest to oldest.

February 2020 is the previous archive.

April 2020 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives