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

MariaDB / MySQL 資料庫備份與還原

2019-05-242024-04-16 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 (虛擬機) Server A (IP : 192.168.111.129) Server B (IP : 192.168.111.157) 先在 Server A 建立一些測試用資料. 建立 testdb 資料庫與 employee , employee1 […]

Read more

MariaDB / MySQL – Event Scheduler

2019-05-222022-03-23 adminMariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 / CentOS 8 x86_64 (虛擬機) 在 Linux 環境可以透過 crontab (自動排程)來定期執行任務,如果是要自動執行 SQL 指令(如:定期刪除資料…),可以透過 SQL 的 Event Scheduler 啟動 Event Sched […]

Read more

SQL – 大量資料轉檔 (Text File)

2019-04-242021-03-03 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 (虛擬機) 如何利用 SQL 的 INSERT 語法將文字檔案的內容自動轉到資料庫裡. 如果是單一檔案內容上傳至單一欄位可以使用 LOAD_FILE 函數,詳細使用請參考 – https://benjr.tw/101779 . Linux Ba […]

Read more

SQL 資料型態 – INT (Integer)

2019-04-032020-04-24 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 虛擬機. INT (Integer) 整數型態的種類如下: 型態 Byte(s) 預設長度 有號數 (Signed +,-) 範圍 無號數 (Unsigned) 範圍 TINYINT 1 4 -128~127 0~255 SMALLINT 2 6 -327 […]

Read more

Ubuntu 18.04 + WordPress

2019-03-122020-09-01 adminLinux, MariaDB, Ubuntu, Wordpress

Loading

Ubuntu 18.04 安裝 wordpress 版本為 5.x, 我採用的 web server 為 Apache2 , Database 是 MariaDB ,在使用 WordPress 前你必須先確定 Ubuntu 系統軟體符合他的需求. Apache (Web server) PHP 7. […]

Read more

Linux – Adminer 輕量級的資料庫管理介面

2018-07-312018-08-02 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

之前都是使用 phpMyAdmin 當作 Mysql(MariaDB) web 管理介面,但同事抱怨太複雜了,找了一下有沒有所謂的 MySQL (MariaDB) Lite 輕量級的管理介面,如下. phpliteadmin – https://www.phpliteadmin.org/ […]

Read more

Linux – 預設的資料庫 mysql

2018-06-132024-01-23 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 . 安裝好的 Mariadb 會有一個預設資料庫 mysql. 進入 mysql 資料庫看看裡面儲存了哪一些 tables. User table 來看看 User table 的內容,主要儲存使用者的資料,包含 Host , User , Passwor […]

Read more

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

文章導覽

較舊的文章
較新的文章

近期文章

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