Mysql---View database and table sizeThere are four ways to see the size of the MySQL database in four ways, including the following:The first type: Go in to specify the schema database (information that holds other databases)Use
Double-click the Mysql-5.5.17-win64.msi to start the installation and the following interface appears
2Click Next, the following interface appears, the default is typical, the re-election is custom, click Next
3After selecting MySQL server,
MySQL default is case-sensitive table name, with the following settings, you can let MySQL is not distinguished table name case:1, log in with root, modify/etc/my.cnf;2. Add a line under the [MYSQLD] node: Lower_case_table_names=13, restart MySQL
First, the new userLog in to MYSQL[Email protected]:~# mysql-uroot-pEnter Password: passwordWelcome to the MySQL Monitor. Commands End With; or \g.Your MySQL Connection ID is 138Server version:5.5.53-0ubuntu0.14.04.1 (Ubuntu)Copyright (c), Oracle
A Download mysql-5.7.18
Website address: https://dev.mysql.com/downloads/mysql/
2. Download Mysql-5.7.18-1.el7.x86_64.rpm-bundle.tar (RMP file)Two Install (green area is the command executed on Linux)1 Uninstall mariadb-lib prior to
Common FunctionsCommon aggregate functions :
AVG ()
Returns the average of a field
COUNT ()
Returns the number of rows in a field
MAX ()
Returns the maximum value of a field
manipulating Databases1. Create a databasesyntax : CREATE database name ;2. View the list of databasessyntax : SHOW DATABASE;3. Select a databasesyntax : Use database name ;4. Deleting a databasesyntax : DROP database name ; manipulating data tables
Data preparationdrop table if exists class;CREATE TABLE Class (class_no Int (2) unsigned Zerofill primary key auto_increment comment ' class number ',Class_name varchar (+) NOT null comment ' class name ');INSERT into class values (1, ' Pui gifted
How to completely uninstall MySQL1, the Control Panel in the increase in the removal program to delete2, delete the My.ini file under the MySQL folder, if the backup is good, you can delete all folders directly3, start-to-run, regedit look at the
Error message:[ERR] 1055-expression #1 of ORDER by clause are not in GROUP by clause and contains nonaggregated column ' Information_sch Ema. PROFILING. SEQ ' which is not functionally dependent on columns in GROUP by clause; This was incompatible
方法一Stored Procedure implementations:--Modify Terminator to prevent the default semicolon from running directly on the MySQL command lineDelimiter $$--Create a function to calculate the number of strings after splittingDrop function if exists
#!/bin/bash# by Jchen# mysql Backup for MySQL 5.1.60# 2013-12-02 14:00:00# Version V1.1################################################ Number of days to keep
Yesterday was a busy day, until four o'clock in the night, just for one thing. Install MySQL databaseMySQL installation is divided into many kinds, one is Yum installation, the second is the program installation, the third is the code installation,
About MySQL1. What is a database?A database is a warehouse that organizes, stores, and manages data according to its structure, which is generated more than more than 60 years ago, with the development of information technology and markets,
In linux, mysql databases are automatically backed up on a daily basis.
Overview
Backup is the basis for Disaster Tolerance. To prevent data loss caused by system operation errors or system faults, the process of copying all or part of data sets
MySQL cannot be started.
Solution to MySQL failure
MySQL cannot be started
After mysql is stopped, perform some operations (such as modifying the host name) and restart mysql.
[Root @ www ~] $ Service mysql start Starting MySQL .. ^ [[...............
The reason why the mysql database cannot be remotely connected in centos 7 is solved.
Preface
Recently, I encountered a problem in my work. I found that I could not remotely connect to mysql in Centos7. By searching for relevant information, I
Mysql5.1 command line client crash upon logon. mysql5.1clientBecause mysql command line client is not used for a long time. In use today, open the interface, enter the password, and a crash occurs. The workbench platform also shows that the database
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service