Translation: MariaDB DATABASE (), mariadbdatabase
This document is the description of the official mariadb Manual: DATABASE.
Original article: https://mariadb.com/kb/en/library/database/Https://mariadb.com/kb/zh-cn/database/ I submitted to the MariaDB official manualSyntax
DATABASE()Description
Returns the default (current) database name for a string in utf8 char
Here is a simple local lamp structure, MySQL is used to store the logs sent by the Rsyslog service, PHP is used to run the Loganalyzer program.Loganalyzer is a PHP application used to display logs stored in MySQL.Loganalyzer:Http://download.adiscon.com/loganalyzer/loganalyzer-4.1.3.tar.gzDirectory:1, install lamp.3, MySQL to Rsyslog authorized storage log.Note: time synchronization . Loganalyzer System: CentOS 7.11, install lamp:[email protected] ~]# yum install httpd php php-mysql
OS X compilation and installation of MariaDB
The MariaDB database management system is a branch of MySQL and is mainly maintained by the open-source community. The purpose of using GPL to authorize MariaDB is to be fully compatible with MySQL, including APIs and command lines, it can easily become a substitute for MySQL.
Many development environments require us t
Tags: 20180524First, install the MARIADB1?CD/USR/LOCAL/SRC/Go to the download file storage directory2, wget https://downloads.mariadb.com/MariaDB/mariadb-10.2.6/bintar-linux-glibc_214-x86_64/ Mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz3. Unpacking Package: TAR-ZXVF mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz4. In ord
Environment background: CentOS 7.2
I. Edit the/usr/lib/systemd/system/mariadb.service file and add it in the service segment
[Service]Type=simpleuser=mysqlgroup=mysqluser=mysqlgroup=mysqlexecstartpre=/usr/libexec/mariadb-prepare-db-dir%n# Note: We set--basedir to prevent probes that might trigger SELinux alarms,# per bug #547485 # Execstart in the server segment is added as follows execstart=/ Usr/bin/mysqld_safe--basedir=/u
Tags: mariadb with database audit plug-in directly on the operation processMariaDB 10.1.20 latest version using your own plugin192.168.1.91 Open Database Audit192.168.1.94 remote access, execution DDL,DML,DCL fine-grained auditEarly in the morning to the company to do testing, database first installed, directly on the operation process[Email protected]/]# mysql-uroot-pEnter Password:Welcome to the MariaDB M
MariaDB standalone dual-instance master-slave replication. MariaDB is actually the same as MySQL. If it is different, it is named differently.
MariaDB standalone dual-instance master-slave replication. MariaDB is actually the same as MySQL. If it is different, it is named differently.
from working correctly
Alert
Information that is equivalent to a blue alert that prevents the entire system or the entire software from working properly
Crit
The equivalent of Orange alert, need to immediately modify the repaired warning message
Emerg,panic
It's the red alert, and when this happens, the kernel hangs up a second.
None
Don't do anything, don't record anything.
service only from the IP 169.254.195.91 client. Although the user name is the same, in fact, they are not the same account, their corresponding permissions may vary.Of course, in many cases it is not necessary to require users to connect to servers from only one host. You can use the wildcard character at this time:MariaDB [(None)]> CREATE USER ' yangfan ' @ ' 169.254.195.% ' identified by ' Yangfan ';MariaDB
The MariaDB database management system is a branch of MySQL. It is mainly maintained by the open-source community and licensed by GPL. One of the reasons for developing this branch is that Oracle has the potential risk of shutting down the source of MySQL after purchasing MySQL. Therefore, the community uses the branch method to avoid this risk. Data is no longer important to us, so how can we
The MariaDB d
Previously used by Microsoft SQL Server database, now in the study of data analysis, to use MySQL. Just the company in the cloud architecture upgrade, database selection for mariadb, on the homeopathic installation experience a mariadb. Here is a record of the learning process.1. Download The address is as follows: https://downloads.mariadb.org/Install the following learning versions: The 10 beginning ver
licensing.Postgrepost has a Mit-style certificate that allows you to do anything, including commercial use of open/closed sources. The MySQL client library, which is a GPL certificate, means you have to pay a business fee like Oracle, or provide the program source code. (web site using MySQL will be a little trouble; Mariadb uses GPL2 certificates and provides less restrictive LGPL certificates for MySQL c
Tags: mys nbsp comm A visible View SQL database Tin UTF8mysql> INSERT into student values (162111,'Zhou Yi','male', +,'CS'); ERROR1062(23000): Duplicate Entry'16211160127' forKey'PRIMARY'(duplecate for repetition) primary key primary key cannot be inserted with the same field as Uniqueerror1025(HY000): Error on Rename of'./test/#sql -27c_2308'To'./test/student'(errno: MaxThis error occurs when you change the type encoding type generally for a foreign key constraint workaround to temporarily sto
According to foreign media reports, recently, Google's senior System Engineers showed that most of Google's databases have been migrated from MySQL to MariaDB, this was another time that MySQL was abandoned by heavyweight users after it was acquired by Oracle. It is reported that at last week's Stanford University large-scale database conference, Google's senior system engineer Jeremy Cole revealed that Google's open source data center will be migrate
Tags: net int tar restart move refresh count loading oppMARIADB version 10.1.21 Fedora version 25 1.Change Root User Sudo-i 2. DNF Install-y MySQL DNF Install-y mariadb Mariadb-server 3. Start mariadb Server and autostart mariadb on boot Systemctl Start Mariadb.server #启动 Systemctl Enable Mariadb.service #随系统启动 4. Init
MariaDB beginner management commands
Earlier, we learned to install the MariaDB server on CentOS/RHEL 7 (SEE), which is now the default database of RHEL/CentOS 7. Now we will discuss some useful MariaDB management commands. These are some very basic commands that allow you to start using MariaDB. These commands can als
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 Nginx's Repository
cd/etc/apt/sources.list.d
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.