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

SQL 語法 – OVER 與 PARTITION BY 用法

2020-01-182020-02-04 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

在 MAriaDB 裡面提到關於 Window Functions Overview – https://mariadb.com/kb/en/window-functions-overview/ 關於這些 Function 函數定義請參考. Window Functions &#8211 […]

Read more

CentOS 8 (1905) – yum update

2020-01-152020-01-16 adminLinux, RedHat / CentOS

Loading

安裝好 CentOS 8 (1905) 執行更新,會發現無法更新. 透過 dnf 也一樣,關於 YUM , DNF 請參考 Linux 套件管理 ( Package Manager ) 說明 – https://benjr.tw/2678 在官網有找到說明. https://wiki.c […]

Read more

SQL 語法 SET , := 以及 SELECT INO

2019-12-242020-05-13 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 (虛擬機) SELECT 後的資料有辦法儲存到變數嗎? 可以透過幾種方式. SELECT 查詢需注意資料庫字元編碼 Character Sets 與 文字排序 Collations ,請參考資料庫編碼 – https://benjr.tw/10 […]

Read more

SQL 變數 Variables

2019-12-242020-02-11 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 (虛擬機) 這邊來看一下 MySQL / MariaDB SQL 變數 Variables 的種類. 先建立一個資料庫 (testdb) , 與 tables (employee) 格式為 Name char(20), Dept char(20), job […]

Read more

MySQL – Master Slave Replication – log_bin_trust_function_creators

2019-12-202021-02-22 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 / CentOS 8 x86_64 (虛擬機) 在建立 Stored Function 時卻得到以下的錯誤訊息. 奇怪另外一台相同的版本 MySQL (其實是 MariaDB) 可以建立自訂函數,這是為什麼? 主要原因是當你有使用 Binlog 的機制時,會被限制建立 […]

Read more

CentOS 8 – LVM (Logical Volume Manager)

2019-12-052023-11-15 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS8 / RHEL (Red Hat Enterprise Linux) x86_64 (虛擬機) 最近把作業系統換到 CentOS 8 ,使用了預設的磁區切割 (/home 佔去 80% 的空間,使用 LVM 分割),想說可以直接透過 LVM 把 /home 縮小, 把 / […]

Read more

SQL 語法 SELECT Duplicate Row (Column)

2019-11-212019-11-21 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

如何找到重覆的資料 (Duplicate Row , Column or Record) 測試環境為 CentOS 8 x86_64 (虛擬機) 先建立一個測試用資料庫 (testdb) , 與 tables (employee) 格式為 K1 int(11) – auto_increm […]

Read more

MariaDB – Master Slave Replication

2019-11-132023-08-11 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

為了避免硬碟損毀進而造成資料庫遺失,可以使用主從式資料庫 (Master Slave Replication) 的技術. Master 的資料庫會透過 Binlog 的機制將資料同步到 Slave . Master 不是真的會把資料複製一份到 Slave,而是 Master 會把所有會變動到資料的指 […]

Read more

SQL 語法 SELECT Last Row (Column)

2019-11-082020-10-14 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

如何找到最後一筆 (Last Row , Last Column or Latest Record) 輸入的資料. 測試環境為 CentOS 8 x86_64 (虛擬機) 先建立一個測試用資料庫 (testdb) , 與 tables (employee) 格式為 K1 int(11) &#8211 […]

Read more

PHPMyAdmin – 資料無法匯入

2019-11-052022-11-16 adminLinux, RedHat / CentOS

Loading

測試環境 CentOS 8 64bits + Apache + php-fpm (與 CentOS 7 不同,請參考 – https://benjr.tw/101989 ) CentOS 8 + PHP Version 7.2.11 Server API 使用 FPM/FastCGI C […]

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.