Skip to content

Benjr.tw

  • Linux
    • Stress & Performance
    • Hardware Info
    • System Monitor
    • Security
    • Desktop
    • PXE
    • Filesystem Hierarchy Standard
    • Linux 開機選項
    • Linux Package Manager
    • 備份 Backup
  • Virtualization
    • Docker & Podman
    • CoreOS
  • NAS/SAN
  • Programming Language
    • Python
    • Bash shell script
    • Perl
    • PHP
    • Node.JS
    • VBA
    • javascript
    • Power Query
    • PowerShell
  • WordPress
  • DataBase
    • 資料庫安裝
    • 資料庫語法
    • SQLite
    • MariaDB JSON

Linux – NTP ( Network Time Protocol )

2021-02-092021-02-09 adminLinux, RedHat / CentOS

Loading

CentOS 8 x86_64 預設 chronyd 為 NTP 服務,請參考 – https://benjr.tw/102661 測試作業系統 CentOS 7 x86_64 (虛擬機) Linux 可以透過 NTP ( Network Time Protocol ) 來矯正時間. 啟 […]

Read more

Linux – Convert CSV to JSON

2021-01-132021-01-14 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 在 Linux 下有辦法把 CSV (每筆資料用 “,” 做區分) 轉成 JSON 格式嗎? 轉換後的 JSON 儲存在資料庫要怎麼存取資料? Convert CSV to JSON 找到下面兩種方式. jq : jq is a lightweight a […]

Read more

Linux command – firewall-cmd

2020-12-152020-12-15 adminLinux, Network, RedHat / CentOS

Loading

測試環境為 CentOS 8 x64 (虛擬機 ) 現在可以用 firewall-cmd 指令來改 防火牆設定. 參考文章 – https://blog.gtwang.org/linux/centos-7-firewalld-command-setup-tutorial/2/ 啟動防火牆 […]

Read more

MariaDB – Slave Error

2020-12-092020-12-09 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

使用主從式資料庫 (Master Slave Replication) 的技術. Master 的資料庫會透過 Binlog 的機制將資料同步到 Slave . Master 不是真的會把資料複製一份到 Slave,而是 Master 會把所有會變動到資料的指令儲存到 Binlog ,其中包含 CR […]

Read more

SQL CHECK CONSTRAINT

2020-12-032022-04-22 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 CHECK CONSTRAINT 可以檢查輸入資料是否符合預期,避免儲存成錯誤的資料,我們可以在建立欄位 ( CREATE TABLE ) 時就先設定好,或是之後可以透過 ALTER TABLE 來修改或新增. Constraint 的類型如下. PRIM […]

Read more

MariaDB 資料庫 – JSON_CONTAINS 函數

2020-11-222021-03-22 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 使用關聯式資料庫( RDBMS : Relational Database Management System )的 MariaDB 也可以儲存與查詢 NoSQL ( Not Only SQL : 使用非關聯式資料庫的資料庫,資料儲存不需要固定的欄位 ) […]

Read more

MariaDB 資料庫 – JSON_KEYS , JSON_QUERY , JSON_VALUE 以及 JSON_EXTRACT 函數

2020-11-092021-07-20 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 使用關聯式資料庫( RDBMS : Relational Database Management System )的 MariaDB 也可以儲存與查詢 NoSQL ( Not Only SQL : 使用非關聯式資料庫的資料庫,資料儲存不需要固定的欄位 ) […]

Read more

MariaDB 資料庫 – 使用 Nested Object 的 JSON

2020-11-062020-11-09 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 這邊有 JSON 無使用 Nested Object 簡單版可以參考 – https://benjr.tw/103200 使用關聯式資料庫( RDBMS : Relational Database Management System )的 Ma […]

Read more

MariaDB 資料庫 – JSON

2020-11-062020-11-09 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 使用關聯式資料庫( RDBMS : Relational Database Management System )的 MariaDB 也可以儲存與查詢 NoSQL ( Not Only SQL : 使用非關聯式資料庫的資料庫,資料儲存不需要固定的欄位 ) […]

Read more

MariaDB 資料庫 – 使用者密碼

2020-10-212020-10-21 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 建立使用者 建立使用者 user1@localhost . CREATE USER 使用參數: ‘user1’@’localhost’ , user1 – 新增的使用者, localhost – 限制可從哪裡 […]

Read more

文章導覽

較舊的文章
較新的文章

近期文章

  • Windows – Network Sharing + Port forwarding to VM
  • Ansible – gather facts
  • Ansible – host_vars 定義特定的變量
  • Ansible 範例 – Chrony daemon
  • Ubuntu NTP Client 校時設定

近期留言

  • 「Jackson2734」於〈Ubuntu NTP Client 校時設定〉發佈留言
  • 「w」於〈Ubuntu 16.04 Server PXE 安裝〉發佈留言
  • 「admin」於〈TCP/IP 常見封包〉發佈留言
  • 「stu」於〈TCP/IP 常見封包〉發佈留言
  • 「student」於〈Linux command – tcpdump〉發佈留言

分類

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文
  • Privacy Policy
  • 隱私權政策
Powered by WordPress | Theme: Astrid by aThemes.