1. mariadb DatabaseDatabase: DatabasesWhat is a databaseDB, Database: A collection of data, a mainstream database used to store relational tabular data1.1 Virtual Machine Server: Installing the MARIADB Database[Email protected] ~]# yum-y install
mysqldump is a simple and efficient database backup program that transforms the structure of a database that needs to be backed up into a text file of the MySQL language that contains all the MySQL statements that were made to create the database.
Database structure Model Classification 1, hierarchical Model 2, mesh Model 3, relational model of the relationship model components
Two-dimensional relationship
Table
Row
Column
Index
MySQL Database Common Commands1. mysql Common commandsCreate database name; Create a databaseUse DatabaseName; Select DatabaseDrop database name deletes databases directly and does not alertShow tables; Show TableDescribe TableName; Detailed
On a talk about MongoDB installation and management, which involves a number of concepts, data structure of other API calls, do not know it's okay, in fact very easy, this will introduce.1. DocumentationDocumentation is the core concept of MongoDB.
DDL: Data Definition languageCREATEAlterDROPThe main operations focus on databases and tables.Database:To create a database:CREATE datebase| SCHEMA [IF not EXISTS] dbnane [create_specification];Create_sepecification[DEFAULT] CHARACTER Set [=]
Add and delete change to learn first!1: Numbers without double quotes2. Strings must be double-quoted3:UpdateAll lines of words: UpdatePointing line: UpdateWho you want to update is the line you want to change!There are a few key questions to keep
How to batch modify MySQL engine in production environmentIn general, this demand is not much, but occasionally, here we recommend the use of SED to the backup of the content of the engine conversion method, of course, do not forget to modify the MY.
Database OperationsView all Databases
hive> show databases;
working with default databases
hive> Use default;
View database Information
Hive > describe database default;OkDb_name Comment location owner_name owner_
This paper mainly discussesmysqldumpThe main ways of working, and compare andMk-parralel-dumpSome of the differences that provide more help for the choice of backup methods. First of all, look at the mysqldump of the main parameters of the actual
Said earlier, Coreseek Sphinx mmseg MySQL and so on installation, below say how to use.One, the Coreseek Sphinx boot, will have one more port, and can login like MySQL, but not login MySQL
The code is as follows
Copy Code
TestUnlock the main MySQL first> unlock tables;Delete a table> Use db1; > show tables; > drop table help_category;Go and see it from MySQL.> Use db1; > Show tables;No help_category.///////////////////////////////////////////////////////////////////
http://www.cnblogs.com/zhuyp1015/p/3561470.html install MySQL on Ubuntu is very simple and requires just a few commands to complete. 1. sudo apt-get install mysql-server 2. Apt-get Isntall mysql-client 3. sudo apt-get install Libmysqlclient-dev the
The first part installs MySQLThe second section uses MySQL to manage metaInstall MySQLInstallationYum-y install MySQL Mysql-serverYum method installation requires the use of the network, can automatically continue to transmit, for the dependent
Database Operations
View all Databases
hive> show databases; using the database default
hive> Use default; View database Information
Hive > describe database default;OkDb_name Comment location owner_name owner_type parametersDefault default Hive
1. Two MySQL can read and write, the main preparation, the default is only one (Mastera) responsible for data writing, the other (Masterb) standby;2. Mastera is the main library of Masterb, Masterb is the main library of Mastera, they are mainly
Li Wu:Heng Learn to think together, honouring teachers save Thanksgiving. Leaf See root three return to one, rivers the same oneness.Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercises to keep the body and
Mongodb1.1 Software Introduction? A product between a relational database and a non-relational database– a database based on distributed file storage.– written in the C + + language. Designed to provide scalable, high-performance data storage
Tag: Row IDC width indicates wal linux localhost installation passwordInstalling MySQL on Buntu is simple and requires just a few commands to complete.1. sudo apt-get install Mysql-server2. Apt-get Isntall mysql-client3. sudo apt-get install
First, MySQL replication introduction
MySQL master-slave is also called replication, AB replication. Simply speaking is a and b two machines from the back, write the data on a, the other B will follow the writing data, the data in real-time
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.