Mysqldumper This backup tool is a good point is obvious, that is, can be concurrent backup, faster than Mysqldump, another is the backup table is a separate file, restore a single table will be very convenient (table structure and data files are
Free 50m/asp Tutorials/php Tutorials/mysql Tutorials/ftp/can bind meters American personal homepage space50m free almighty American small spaceControl Panel: Simplified ChineseOperating system: Chinese version WIN2003+IIS6Program language: asp+php+ (
50m-200m Free space Support asp/phpSupport for html/shtml/asp/php scripts, support for Access/mysql databases
Do not limit network traffic, do not limit CPU resource allocation, IIS connection amount/apache Connection amount: 50 100 200
One, union query usage
The union query is simpler, as if the two tables were merged and the fields were combined
If it is
SELECT * FROM table1, table2
Words, two of the same fields will not be merged but
Select A1 from table1 Union Select A1
MySQL's alter command is very useful when you want to change the name of the table, the field of the table, or if you want to add or delete columns from an existing table.
Let's start by creating a use case with a table named Testalter_tbl:
Error tips
Can t find Messagefile '/usr/share/mysql/english/errmsg.sys
Solutions
1, view the installation of the MySQL version of the computer, and then to http://downloads.mysql.com/archives.php look for download the corresponding version of
There have been similar problems before, the cause of this problem from the Internet to check, there are several reasons:
Cause of excessive sleep connections?
1. Too many persistent connections used (personally, it is not appropriate to use a
LOAD Data Syntax Description:
LOAD DATA infile Syntax
LOAD DATA [low_priority] [local] INFILE ' file_name.txt ' [REPLACE | IGNORE]Into TABLE tbl_name[FIELDS[Terminated by ' t '][Optionally] Enclosed by '][escaped by ']][LINES terminated by ' n
Install a Fedora Linux, the desktop UI is tolerable, and then start to configure the environment.
First of all intend to configure a LNMP environment, because the Aliyun above is LNMP environment, Nginx reverse proxy function is quite good, but
Two, install MySQL 1, download mysql installation file Install MySQL need the following two files: mysql-server-4.0.16-0.i386.rpm Mysql-clien t-4.0.16-0.i386.rpm Download Address: http://www.mysql.com/downloads/mysql-4.0.html, open this page,
1. Install IIS
The IIS version of Windows Server 2008 is 7.0, including fastcgi, which is easy to install.
Open the Start menu → server management, the server Management interface appears (Figure 1)
Figure
MySQL Database export CSV file command:Mysql> Select First_name,last_name,email from account to outfile ' e://output1.csv ' fields terminated by ', ' Optionall Y enclosed by "lines terminated by '/n ';CSV file effect:
ALTER column: Sets or removes the default value for a column (very fast operation) Example:alter table film alter column rental_duration set default 5; alter table film alter column rental_duration drop default;Change column: Renaming columns,
The Salt return Receiver (returner) allows the Minion response to be stored in various data stores or in different locations, even displaying the response content on the command line. Returner can be used to extend the salt, and to communicate with
1. Integral type
MySQL data type
Meaning (Signed)
tinyint (m)
1 byte range ( -128~127)
smallint (m)
2 byte range ( -32768~32767)
Mediumint (M)
3 byte range ( -8388608~8388607
Mysql Data Type
I. Numerical type
Mysql supports all numeric types in standard SQL, including strict data types (INTEGER, SMALLINT, DECIMAL, NUMBERIC), and approximate numeric data types (FLOAT, REAL, DOUBLE PRESISION ), in addition, it is extended.
The following statement is used to export data during mysqldump backup and export.Mysqldump-uroot-p 'passwd'-opt-default-character-set = utf8-triggers-R-hex-blob-single-transaction-no-autocommit-master-data = 2 test_game mail> mail. SQLAn error
When accessing the Mysql database created by XAMPP, ifNew XAMPP security concept:Access to the requested directory is only available from the local network.This setting can be configured in the file "httpd-xampp.conf ".Generally, you can follow 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service