I. OverviewThis article provides a deployment document that installs MARIADB on Ubuntu 14.04.MARIADB is a popular version of the MySQL database, and can also be seen as a branch of MySQL, mainly by the open source community responsible for maintenance. MARIADB uses GPL license. MAR
Ubuntu Apt-get Way to install Nginx
ReferenceHttp://nginx.org/en/linux_packages.html
First of all
In order to authenticate the Nginx repository signature and to eliminate warnings about missing PGP key during N of the Nginx package, it is necessary to add the key used to sign the Nginx packages and repository to the APT program K Eyring.
Download key
wget Http://nginx.org/keys/nginx_signing.key
And then add
sudo apt-key add Nginx_signing.key
Join
MARIADB is an open source database and 100% is compatible with MySQL, with the goal of replacing the MySQL database.Background of MARIADB:In 2008, MySQL was acquired by Sun Microsystems , which was later acquired by Oracle in 2010. The initial takeover by Sun was hailed by the MySQL community for meeting the needs of the project, but this sentiment did not last long, and the next Oracle takeover was expected to fall far short of expectations. Many MyS
database root user
[Email protected]:~$ sudo mysql-u root-p
6. Backing up the MySQL database also requires an operating system administrator to perform the backup
[email protected]:~$ sudo mysqldump-uroot-p mysql >mysql.sql
7. Create a normal database user ( login to normal database users do not need to gain operating system administrator privileges)
Create user ' ZHANGDC ' @'% ' identified by ' 1 '; (The following number is the password can be set by
minimal Ubuntu server as the basis for this article. I run all the commands under root, so make sure you're using the root account: sudo suInstalling MariaDB as a replacement for MySQLI installed MariaDB instead of MySQL. MariaDB is the MySQL branch version maintained by the author of MySQL Monty Widenius.
How to migrate MySQL 5.5 database to MariaDB 10 on Ubuntu
This article has been tested by ourselves. The system is Ubuntu 14.04 server, and the Mysql database is Mysql 5.5. We are preparing to migrate it to Maria DB 10.1, for details about the migration methods of other versions, go to the official website. Here I will only talk about what I have tested.
As to wh
MARIADB is an Open-source database and 100% is compatible with MySQL, with the goal of replacing the MySQL database.Mariadb's background:
In 2008, MySQL was acquired by Sun Microsystems, which was later acquired by Oracle in 2010. Sun's acquisition was initially hailed by the MySQL community for meeting the needs of the project, but the sentiment did not last long and the subsequent takeover by Oracle was unfortunately expected to be far below expect
Tags: mariadb installRecently in an attempt to deploy OpenStack based on Ubuntu 16.04.1 LTS Server, I encountered mariadb unable to link properly during the deployment process.ProblemRefer to OpenStack official documentation to install MARIADB and encounter an issue that cannot be logged on locally after installation$m
This article has been tested by ourselves. The system is Ubuntu 14.04 server, and the Mysql database is Mysql 5.5. We are preparing to migrate it to Maria DB 10.1, for details about the migration methods of other versions, go to the official website. Here I will only talk about what I have tested.As to why oracle migrated to MariaDB, users who know Oralce's acquisition of Sun should know that, of course
--dport 3306-j DNAT--to 10.138.129.43:3306sudo iptables-t nat-a prerouting-p tcp-s 192.168.188.0/24--dport 80-j DNAT--to 10.138.129.43:80sudo iptables-t nat-a prerouting-p tcp-s 192.168.188.0/24--dport 80-j DNAT--to 10.138.129.43:80# Save All the rules for the current iptablessudo iptables-save# Shared Host User DirectoryLXC Config device add centos7 mntdir disk Source=/home/ubuntu path=/mnt/outter# Remove Host user directoryLXC Config device remove C
In the ubuntu16.04 version, when you install MySQL, the default installation is MARIADB.installation command:1. Use administrator privileges (by default, the user under Ubuntu is the user name that is set when the system is installed, but the installation and uninstallation or deletion requires administrator privileges to avoid the user switching with sudo before each confident command, you can switch directly to the root user)sudo suThe difference be
This article tags: Ubuntu MySQL ubuntuserver perconaserver MySQL database server performance optimization Internet GossipWhat is the goods?Percona has improved mysql database server, with a significant increase in functionality and performance compared to MySQL. This version improves the performance of InnoDB under high load conditions, provides some very useful performance diagnostic tools for DBAs, and additional parameters and commands
LEMP is abbreviated to represent a set of software packages (l:linux Os,e:nginx network server, M:MYSQL/MARIADB database and p:php service-side dynamic programming language), which is used to build dynamic Web applications and Web pages.
(LCTT: Why use LEMP instead of LNMP abbreviations?) According to Https://lemp.io/'s explanation: Nginx pronunciation is engine-x, important pronunciation rather than initials, and lemp is actually readable, and lnmp
The installation method described in this article is practical in the software environment, can not be guaranteed to use in other versions, please refer to their actual situation to adjust the installation method and parameters.OS version: Ubuntu Server 14.04 LTS 64bitTo install MariaDB version: MariaDB 5.5.39Preparatory workDetermining the installation version a
First install MARIADB
Apt Install Mariadb-server
Once installed, you can log in and the default root password is empty
Mysql-uroot-p
Then install phpMyAdmin
Apt Install phpMyAdmin
Install the password need to set, I do not set here, empty
Then visit http://localhost/phpmyadmin return 404, the information on the net should be relatively old, have failed, should do so
Under Root permissions
Ln-s/etc/ph
Tags: Mariadb ubunutThe MARIADB website provides repositoryhttps://downloads.mariadb.org/mariadb/repositories/#mirror =tunaHere you can find the installation methods of various systems, here only for Ubuntu 16.04 lts explanation.Add keysudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74
"@‘%‘;然后配置上面的文件,就可以了。Here is a test program written by yourself, also can pass:Summary: From the MySQL database, replaced by MARIADB, first the MySQL jar package into Mariadb-java-client-1.6.4.jar (the last problem solved, come back to test, and this does not matter). Then go to database execution:grant all on lx.* to "zhangdc"@‘%‘;后,用zhangdc用户登陆,问题就解决了。有用提示:grant all on db_name.* to ‘vincent’@‘%‘;OrGRANT A
Tags: linux mysql[Email protected]:/opt# MKDIR/MYDATA/DATA-PV[Email protected]:/opt# groupadd-r MySQL[Email protected]:/opt# useradd-g mysql-r-s/sbin/nologin-m-d/mydata/data MySQL-R,--system create a System account-S,--shell Shell login shell for new account-M, --no-create-home does not create a user's home directory-D,--home-dir home_dir the home directory of the new account-G, the name or ID of the--gid group's new account owner[Email protected]:/# chown-r Mysql:mysql/mydata/data[Email prot
|| Performance_schema |+ -------------------- +
So far, our MariaDB Galera Cluster has been successfully deployed.
-------------------------------------- Split line --------------------------------------
Install LAMP (Apache with MariaDB and PHP) in CentOS/RHEL/Scientific Linux 6)
Implementation of MariaDB Proxy read/write splitting
How to compile and install th
and write separation of MariaDB proxy http://www.linuxidc.com/Linux/2014-05/101306.htm Linux compiler installation Configuration mariadb database method http://www.linuxidc.com/Linux/2014-11/109049.htm The CentOS system uses Yum to install the MARIADB database http://www.linuxidc.com/Linux/2014-11/109048.htm Install mariadb
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.