1. Full backup and incremental backup 1.1 full-scale backupFull-volume data is all the data in the database, and a full backup is the backup of all the data in the database.Back Up all libraries:mysqldump -uroot -p123456 -S /data/3306/mysql.sock -F -
MySQL InstallationInstall MySQL on Linux/unixThe Linux platform recommends the use of the RPM package to install Mysql,mysql AB provides the following RPM package download address:
Mysql-mysql server. You need this option unless you only want
This article mainly introduces the installation of MySQL and the basic management commands and settings, which are the basis for building the MySQL environment. For more information, see
Install MySQLInstall Mysql on Linux/UNIXOn Linux, we recommend
This article mainly explains the mysql commands in centoslinux (redhatlinux). If your mysql is installed in source code, I add the "mysql installation directory bin" to the path environment variable, mysql startup script has been copied to etcinit.
Share Mysql commands,
1. Connect to Mysql
Format: mysql-h host address-u user name-p User Password
1. Connect to MYSQL on the local machine.
First, open the DOS window, enter the mysql \ bin directory, type the mysql-u root-p command, and press
1. download MySql
1. download MySql
Open http://www.mysql.com/downloads/mysql/#downloads download in browser
My downloaded version is Red Hat 5 version of http://www.mysql.com/downloads/mirror.php? Id = 407552
Upload the file to the server, or
First, start and stop the MySQL Service
Net stop MySQL
Net start MySQL
Second, log on to MySQL
Syntax: mysql-u user name-P User Password
Enter the mysql-uroot-p command, press enter and prompt you to enter the password, enter 12345, and then press
The following articles mainly introduce the actual operations of MySQL commands frequently used in MySQL databases, including how to correctly connect to the MySQL database on the local machine and how to change the password correctly, the following
How to configure MySQL database server on CentOS
BitsCN.com accidentally found CentOS Professional Forum, remember: http://www.centospub.com
As a result, the initial learning configuration
This environment:
CentOS system,
Mysql-server (version
Lsof-I: 80. Check which programs are being executed on the port.
Start and Stop1. StartAfter MySQL is installed, run the following command to start MySql in the/etc/init. d directory.[Root @ test1 init. d] #/etc/init. d/MySQL start
2.
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.