a ready
1 Download Apache Http://httpd.apache.org/download.cgi#apache24 httpd-2.2.22-win32-x86-openssl-0.9.8t.msi
OpenSSL represents a OpenSSL module, using OpenSSL to configure SSL security links for Apache
2 download PHP
In the last article to introduce the MySQL database performance optimization One, today continue to go on the article to introduce the database performance optimization related knowledge. The details are as follows:
Establish an appropriate index
Today, database operations are increasingly becoming a performance bottleneck for the entire application, especially for Web applications. As for the performance of the database, this is not just something that DBAs need to worry about, and that's
One, MySQL: index in B-Tree format saveThe memory storage engine can select either a hash or a btree index, and the hash index can only be used for = or equality comparisons.
1. Normal index: CREATE index on TableName (List of columns)
ALTER
Modify My.ini, add under [mysqld]
default-storage-engine=INNODB
Where the red font part is the name of the engine to be specified.
To modify an engine that has completed a table with SQL statements:
ALTER TABLE TableName TYPE=INNODB
My
Show tables or show tables from DATABASE;
Explanation: Displays the names of all tables in the current database
Show DATABASES;
Explanation: Displays the names of all the databases in MySQL
Show Processlist;
Explanation: Displays all processes
MySQL supports several storage engines as processors for different types of tables. The MySQL storage engine includes the engine that handles the transaction security table and the engine that handles the non-transactional security table:
MyISAM
#BEGIN CONFIG INFO
#DESCR: 4GB RAM, using only InnoDB, ACID, a small number of connections, large queue load
#TYPE: SYSTEM
#END CONFIG INFO
#
# This MySQL profile example for 4G memory
# Main Use InnoDB
#处理复杂队列并且连接数量较少的mysql服务器
#
# Copy this file
In writing SQL, because there are some statements alias can not be invoked, Baidu for a reason, the original is due to the different alias mechanism caused. To avoid making the same mistake the next time, find the information on the Internet today
A. mysql command line mode settings
Desktop-> My Computer-> properties-> environment variable-> new->Path= "; path\mysql\bin;" Where path is the installation path for MySQL.
Second, the command line to enter the MySQL method
1.c:\>mysql-h
This article describes the MySQL implementation of the batch inspection table and repair and optimize method. Share to everyone for your reference, specific as follows:
The following is the Shell reference code:
#!/bin/bash
host_name=192.168
In MySQL, how do you use SQL statements to rename a field in a table? We will use ALTER TABLE, an SQL statement.
The syntax for renaming a field is: ALTER TABLE change .
Now let's try to rename the T_name field in the test table to the
Commands for backing up the MySQL database
Mysqldump-hhostname-uusername-ppassword databasename > Backupfile.sql
back up the MySQL database to back up the MySQL database in a format with a delete table in the format with
1.left Join Basic usage
MySQL LEFT JOIN statement formatA left JOIN B an on condition expression
The left join is based on a table, table A is the left-hand table, and B is the right table.The records for left table (A) are all displayed, and the
The example of this article analyzes the MySQL hint the InnoDB feature is disabled need to open the InnoDB solution. Share to everyone for your reference, specific as follows:
First, the question:
Create a data table error:
ERROR 1289:the '
This article describes the two-level linkage menu effect implemented by Php+mysql. Share to everyone for your reference, specific as follows:
Generation College Professional cascading pull-down menu test /*******************************
MySQL started with the 4.1 version of the concept of character set, so for MySQL4.0 and the following version, their character set is Latin1, so sometimes need to do a bit of MySQL's character set for conversion, MySQL version of the upgrade,
Let MySQL support Chinese sortWhen compiling MySQL, it is generally used as the default character set by the ISO-8859 character set, so in the comparison, the character case conversion of Chinese encoded characters causes this phenomenon, one
System: Ubuntu 10.10MySQL source file: mysql-5.5.8.tar.gzTools required for installation: CMake, GNU make, GCC, Perl, Libncurses5-dev, bison (optional), chkconfigNote:1. The official source code for 2010-11-18 has several bugs that were manually
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