Nginx is a compact and efficient Linux Web server software developed by Igor Sysoev, the second Rambler site for Russian visits, has been running for years on a number of large Russian websites and is fairly stable. Nginx has the characteristics of
MySQL database under Linux By default is case-sensitive table name, to ignore table name case, add a configuration can:
Vi/etc/my.cnf
Add under [mysqld] column:
Lower_case_table_names = 0
You can ignore case, if you set the
Environment
MySQL 5.1 + command line tools
Problem
MySQL User creation and authorization
Solve
1. Log in as root to create a new user
C:\users\wentasy>mysql-uroot-p
mysql> CREATE USER Music identified by ' music ';
2. Create
Being a DBA requires a rigorous working attitude.
Two test DB server A, server B, default storage engine InnoDB. There is a need to synchronize all the table structures in a to B. It was done at the time: Mysqldump-no-data ...
After exporting the
Just learning flex soon, this little example passes through the RemoteObject communication method. To achieve flex and MySQL database interaction.
1 using the test database in MySQL, the table name is admin. field in table: ID username userpwd
This article applies to newly installed primary and standby libraries, assuming that the primary repository is empty, and if you are copying from an existing master library, go to [MySQL] Replication (3)-Create a master copy (start copying from
First, download the installation files
Find zip file at MySQL official website
Second, extract files, select location
It's best to put it on a certain disk in the MySQL folder, which is easier to find, where we extract the files to the D-Disk
The metadata is "data about data." Any data that describes the database--as opposed to the content of the database--is meta data. As a result, most of the strings in the column name, database name, user name, version name, and results from the show
In MySQL, the use of indexes is always the right decision.
Examples of simple tables:
create TABLE `r2` ( ID` int(11) DEFAULT NULL, ID1` int(11) DEFAULT NULL, CNAME` varchar(32) DEFAULT NULL, KEY `ID1` (`ID1`) ) ENGINE=MyISAM DEFAULT charSET=latin1
Batch processing is a way to run a MySQL program that is not interactive, and you will still use these commands, just as you would for the commands you use in MySQL.
In order to implement batch processing, you redirect a file to a MySQL program,
This article briefly describes the four options that affect mysqld security.
--secure
The IP numbers returned by the gethostbyname () system call are checked to ensure they are parsed back to the original hostname. This makes it harder for some
1. Export the entire database
Mysqldump-u user name-p database name > exported file name
Mysqldump-u wcnc-p SMGP_APPS_WCNC > Wcnc.sql
2. Export a table
Mysqldump-u user name-P database name Table name > exported file name
Mysqldump-u wcnc-p
First, MySQL Introduction
MySQL is a small and smart database server software, for medium and small application system is very ideal. In addition to supporting standard ANSI SQL statements, and most importantly, it supports multiple platforms, and
Suppose the column X in table T has these latin1 column values:
Muffler Müller MX Systems MySQL
Suppose you use the following statement to get the column value:
SELECT X FROM T ORDER BY X COLLATE collation_name;
The results of column values that
MySQL 5.1 's Chinese support for an improvement, starting from MySQL 4.1 does not support Chinese path, file name problem solved.
See the following example
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
The compressed storage format is a read-only format created by the Myisampack tool.
All MySQL distributions include myisampack by default. Compressed tables can be decompressed using MYISAMCHK.
A compressed table has the following characteristics:
Here is a simple PHP connection to the MySQL database data paging display template. You can modify the information by annotation, the SQL statement inside can be changed.
Pay attention to the analysis and observation of the relevant pagination part
No matter what version of MySQL is installed, the MySQL service starts in the service of the Admin tool and the error occurs halfway through. Content is: Unable to start MySQL service on local computer error 1067: Process aborted unexpectedly.
First set up the MySQL master server:
To create a user from the server on the primary server:
1.grant replication Slave on *.* to 192.168.0.1 identified by ' 1234 ';
#4.1 with this, before you can use file.
#grant file on *.* to 192.168.0.1
[Mysql] MySQL automatically disconnects the connection solution after the idle time of the connection exceeds 8 hours.
1. Increase the value of the wait_timeout attribute of MySQL.
Modify the/etc/mysql/my. cnf file and set it in [mysqld:# Set a
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