Description
Operating system: CentOS 5.x 64-bit
MySQL database version: mysql-5.5.35
MySQL master server: 192.168.21.128
MySQL from server: 192.168.21.129
Prepare the article:
Description: On the two MySQL server 192.168.21.128 and 192.168.21.1
As a site or server operation personnel, the site backup and restore operations must be skilled. MySQL database Export and import operations are essential, for the general user, may use more than phpmyadmin such a visual interface, but this
To restore a database:
The code is as follows
Copy Code
Mysql-h Localhost-u root-p123456 www
To back up a database:
The code is as follows
Copy Code
Mysqldump-h localhost-u root-p123
first, what isOracleCharacter Set
The Oracle character set is a collection of symbols that interpret a byte of data, have a size, and have a mutual containment
This article focuses on the following sections: How to view queries for Oracle character sets, modify set character sets, and common Oracle UTF8 character set and Oracle exp character set issues.I. What is the Oracle character setThe Oracle
Original address: View and modification of the Oracle character set Piaoliuxiongfirst, what is Oracle Character Set
The Oracle character set is a collection of
Organize from Network + experimental character set the most important parameter that affects the Oracle database character set is the Nls_lang parameter.Its format is as follows: Nls_lang = Language_territory.charsetThe Nls_lang parameter consists
Tutorial Start:First, install MySQLDescription: install MySQL 5.5.22 on two MySQL servers 192.168.21.169 and 192.168.21.168, respectively Second, configure mysql master server (192.168.21.169) mysql -uroot -p # enter MySQL console
Original address: View and modification of the Oracle character set Piaoliuxiongfirst, what is Oracle Character Set
The Oracle character set is a collection of
MYSQLDUNP Common parameters:--single-transaction --master-data=2 Export the entire database (including data in the database) mysqldump-u Username-p dbname > dbname.sql Export some libraries Mysqldump-uusername-ppassword--databases db1 DB2 >
1. Database Empowerment Enter MySQL database: mysql > use MySQL; To set a new password for the root user: MySQL > Update user set Password=password ( new password ) where User=" root ; refresh the database MySQL > flush Privileges;nagios
MysqlTo modify a new password:Use MySQL;Update user set password= ' new password ' where user= ' username ';Flush privileges; Update permissionsAdd new users:Grant SELECT, Insert,update,delete on database. Table to username @ Login Host identified
Export database (SQL script)Mysqldump-u user name-p database name > exported file nameMysqldump-u root-p--databases db_name > Test_db.sql # #得到整个数据库, the most comprehensive; do not--databases, is not enough information comprehensiveMySQL Export
I. What is the Oracle character setThe Oracle character set is a collection of symbols that interpret a byte of data, have a size, and have a mutual containment relationship. ORACLE's support for national language architectures allows you to store,
Command line Export database:1. Go to the Bin folder in the MySQL directory: cd MySQL to the Bin folder directoryAs I entered the command line: CD C:\Program files\mysql\mysql Server 4.1\bin2, Export database: Mysqldump-u user name-p database name >
Summary of common MySQLDBA manuals. For more information about using mysql, see.
MySQL DBA common manual summary, mysql friends can refer.
1. mysql remote connection commands can be used to remotely import and export data
Mysqldump --
SQLite is a lightweight database system similar to Access, but it is smaller, faster, with larger capacity and higher concurrency. Why is SQLite most suitable for CMS? It doesn't mean that other databases are not good. Oracle, MySQL, and SQLServer
This document describes how to use SQL scripts and PL/SQL Developer tools to create tablespaces, create databases, back up databases, export data, and perform Oracle object creation, data import, and other operations, this helps us quickly
MySQL command line to export the database: 1. Go to the bin folder under the MySQL Directory: directory from cd MySQL to the bin folderFor example, if the command line I entered is cd C: \ Program Files \ MySQL Server 4.1 \ bin(Or directly add the
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.