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

MariaDB

WordPress

2018-05-042024-02-29 adminLinux, MariaDB, Mysql, Ubuntu, Wordpress

Loading

WordPress 是 CMS 的一種,什麼是 CMS(content management system),因為網站的管理不像是以前寫寫幾個 HTML 幾張網頁就可以解決了.所以需要一套專門管理網站內容的軟體. 目前把 wordpress 網站架設在 Google Cloud Platform & […]

Read more

MariaDB 自訂函數權限

2018-05-032019-11-07 adminLinux, MariaDB, Mysql, Ubuntu

Loading

測試環境為 CentOS 7 x86_64 使用者的權限可以區分為 登入權限,請參考 https://benjr.tw/97973 使用者存取 資料庫(DateBase)/資料表(Table)/資料欄(column)權限,請參考 https://benjr.tw/98033 權限有分為 管理權限 結 […]

Read more

Linux (CentOS) Bugzilla

2018-01-262018-01-27 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

在自己系統建立 Bugzilla 系統,需要下面幾個服務. MySQL (MariaDB) Database Apache2 (Web server) phpMyAdmin (非必要) 設定請參考 https://benjr.tw/323 Bugzilla 測試環境為 CentOS 7 x86_64 […]

Read more

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

文章導覽

較舊的文章
較新的文章

近期文章

  • 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.