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

Mysql

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

MySQL 轉移到 MariaDB

2016-10-232016-10-25 adminLinux, MariaDB, Mysql, Ubuntu

Loading

測試在 Ubuntu14.04,資料庫系統更新成 MariaDB 10.0 (移除 MySQL5.5) 建議先把舊的資料庫備份下來 其中的 database 請依你實際的 database 名稱,我的 database 名稱為 benjr 因為我會使用到 wordpress,根據 WordPress […]

Read more

Ubuntu 14.04 + wordpress

2016-10-232018-05-04 adminLinux, Mysql, Ubuntu, Wordpress

Loading

首先 WordPress 對於系統的要求 在使用 WordPress 前你必須先確定你的系統軟體符合他的需求 PHP 版本需要大於 5.6 Ubuntu 16.04 安裝 Apache + PHP 請參考 https://benjr.tw/95861 MySQL 版本需要大於 5.6 或是 Mari […]

Read more

Sysbech – OLTP 測試結果 (MariaDB Galera Cluster + HAProxy)

2016-10-032016-10-25 adminLinux, MariaDB, Mysql

Loading

作業系統平台皆為 CentOS 7.2 關於 Sysbech OLTP , MariaDB Galera Cluster , HAProxy 請參考. CentOS 7 YUM 安裝 MariaDB Galera Server – https://benjr.tw/95350 CentO […]

Read more

HAProxy 負載模式

2016-10-012017-03-24 adminLinux, MariaDB, Mysql

Loading

這邊繼續探討 MariaDB Galera Cluster + HAProxy (CentOS) https://benjr.tw/95536 balance 不同模式的運作方式. balance: Defines the destination selection policy you want […]

Read more

MariaDB 10.1 Galera Cluster (Ubuntu)

2016-10-012017-08-17 adminLinux, MariaDB, Mysql, Ubuntu

Loading

作業系統平台為 Ubuntu 16.04 .安裝 MariaDB 10.1 (這版本 MariaDB server 含 Galera 功能).Ubuntu 16.04 透過 apt 安裝的 MariaDB 版本為 10 ,要額外安裝 10.1 需要自行設定 apt repository . 上面為指 […]

Read more

Sysbench oltp (2)

2016-09-222017-07-19 adminLinux, MariaDB, Mysql, Ubuntu

Loading

這邊繼續探討關於 sysbench OLTP 的參數使用,關於 sysbench 一般設定 https://benjr.tw/8715 ,與 sysbench 如何 測試 oltp 資料庫 https://benjr.tw/95251 請自行參考. 測試環境 Ubuntu 14.04 -–max-t […]

Read more

SQL 語法 基礎 INSERT , SELECT , UPDATE , DELETE

2016-09-212019-10-04 adminLinux, MariaDB, Mysql

Loading

之前 Database 只會新增 個別資料庫,或是一些簡單的設定 ,但是在使用 sysbench – https://benjr.tw/95251 進行 oltp 測試時,裡面的模式使用了很多的 SQL 語法,不是很了解 SQL 所以惡補一下. 關於 Linux 下的 Mysql (Ma […]

Read more

CentOS7 – Sysbench

2016-09-142017-07-07 adminCPU, Linux, MariaDB, Memory, Mysql, RedHat / CentOS

Loading

作業平臺 CentOS 7 的 yum 沒有包含 sysbench 需要透過 git 下載並編譯原始碼. 編譯 sysbench 時所需要的套件 開始編譯 sysbench GitHub – https://github.com/akopytov/sysbench sysbench 提供 […]

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.