Tag: MariaDB
MySQL 的 Master-Slave Replication (同步) 是当 Master 数据库有变动时, 自动同步到 Slave 数据库。由于 MariaDB 在 RHEL/CentOS 7 开始已经成为默认数据库, 而且可以完全取代 MySQL, 所以以下也会以 MariaDB 进行设定, 但同样方法在 MySQL 一样可以的。 假设已经有两台 MySQL 服务器, 以下两部份分别是 Master …
LEMP 意思是 Linux + Nginx, + MySQL (MariaDB) + PHP。Nginx (发音能同 engine x) 是一款以性能取向的网页服务器, 较 Apache 及 Lighttpd 使用较少内存, 而配置 Nginx 及 PHP 的方法与 Apache 有点不同, 因为 Nginx 是透过 …
RHEL 7 开始, MariaDB 会取代 MySQL 成为默认的数据库系统, 以下是安装方法: yum install mariadb-server mariadb 只要输入以上指令就可以透过 yum 安装 mariadb server 及 client, 现在开启 MariaDB Server: systemctl start mariadb.service 设定开机自动开启 MariaDB Server: systemctl …
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. Ok