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

Database

Linux (Ubuntu) Bugzilla

2018-01-232018-01-25 adminLinux, MariaDB, Mysql, Ubuntu

Loading

在自己系統建立 Bugzilla 系統,需要下面幾個服務. MySQL (MariaDB) Database Apache2 (Web server) – 請參考 https://benjr.tw/95861 Bugzilla phpMyAdmin (非必要) – 請參考 h […]

Read more

SQL 自訂函數 (單位字串轉數值)

2018-01-102022-04-22 adminLinux, MariaDB, Mysql, Ubuntu

Loading

測試環境為 Ubuntu16.04 x86_64 虛擬機. 當 SQL 函數 (Function) 沒有符合我們的需求時,可以自訂函數 User-Defined Function (UDF) 設定格式如下: 直接來看一個範例,在計算機系統關於容量,大小會透過簡寫的方式來表示,自訂一個函數 conve […]

Read more

SQL 自訂函數 (數值轉單位字串)

2018-01-092022-04-22 adminLinux, MariaDB, Mysql, Ubuntu

Loading

測試環境為 Ubuntu16.04 x86_64 虛擬機. 當 SQL 函數 (Function) 沒有符合我們的需求時,可以自訂函數 User-Defined Function (UDF) 設定格式如下: 直接來看一個範例,在計算機系統關於容量,大小會透過簡寫的方式來表示,自訂一個函數 forma […]

Read more

SQL 資料型態 – TIMESTAMP

2018-01-082020-06-09 adminLinux, MariaDB, Mysql, Ubuntu

Loading

這邊來看一下 TIMESTAMP 這個資料型態. 測試環境為 Ubuntu16.04 x86_64 虛擬機. 建立一個有 timestamp 欄位的資料表 table ,預設值為 current_timestamp (日期時間函數,功能與 NOW 一樣,都是回傳目前系統的日期時間),on updat […]

Read more

SQL 語法 進階 SELECT

2018-01-032022-04-29 adminLinux, MariaDB, Mysql, Ubuntu

Loading

測試環境為 Ubuntu 16.04 x86_64 ,下面針對 SQL SELECT 的 WHERE , GROUP BY , HAVING , ORDER BY , LIMIT 與 sub-query 使用方式做說明, SELECT 查詢需注意資料庫字元編碼 Character Sets 與 文字 […]

Read more

SQL 語法 ALTER TABLE

2017-09-112023-01-12 adminMariaDB, Mysql

Loading

建好的資料表可以透過指令 ALTER 做修改. 測試環境為 CentOS 8 x86_64 (虛擬機) 先建立一個資料庫 (testdb) , 與資料表 (employee) 格式為 Name CHAR(20), Dept CHAR(20), JobTitle CHAR(20) 各 20 個字元. […]

Read more

Linux – MySQL / MariaDB 資料庫語法

2017-09-072024-02-20 adminDatabase, Linux, MariaDB, Mysql

Loading

MariaDB 從 CentOS 7 開始的 Database 都換成了 MariaDB,主要的原因是 MySQL 被甲骨文 (Oracle) 收購 (MySQL 原本是屬於昇陽電腦 SUN ),MySQL 社群擔心甲骨文對於 MySQL 這個開放軟體未來的態度,所以 Michael Wideniu […]

Read more

SQL 語法檢視資料庫內容

2017-09-062022-06-15 adminDatabase, Linux, MariaDB, Ubuntu

Loading

測試環境為 Ubuntu16.04 資料庫 (DateBase) / 資料表 (Table) / 資料欄 (Column) / 資料 (Data) 要怎麼檢視這些資料呢! 可以透過 SHOW , SHOW CREATE TABLE , DESCRIBE , SELECT 來檢視. 資料庫 (Date […]

Read more

WordPress Plug-in – User Access Manager

2017-08-232017-10-19 adminLinux, MariaDB, RedHat / CentOS, Wordpress

Loading

如果有部分網頁要設定給已登入的特定使用者,這時候需要額外安裝 User Access Manager plug-in- https://wordpress.org/plugins/user-access-manager/ 安裝可以透過 控制台 / 外掛 / 安裝外掛 / 搜尋 User Access […]

Read more

WordPress 搬家 (IP 改變)

2017-08-232021-05-18 adminLinux, MariaDB, RedHat / CentOS, Wordpress

Loading

如果 WordPress 當初設定的 URL (設定 / 一般 / Wordpress 位址 , 網站位址) 為 IP 時,搬家的同時連 IP 也要換掉,這就有一點麻煩了. 測試環境為 CentOS 7 x86_64 + Apache (Httpd) 先來看一下 wordpress 搬家需要備份資料 […]

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.