Description
Operating system: CentOS 5.X
Server IP Address: 192.168.21.127
Web environment: Nginx+php+mysql
Site root directory:/usr/local/nginx/html
Objective: Install Coreseek Chinese search engine, configure MySQL database access interface,
Sometimes we install or develop Php+mysql+apache applications that require a version of the environment, and we can use the following code to query PHP, MYSQL, and Apache versions of the information to see if they meet our needs.1. Direct access to
Today to ask the net to add a list of functions, the main thing is to list the most read and commented articles in this blog, but there is a problem, the reading volume stored field type is varchar, use DESC or ASC sort, not according to the size of
MySQL master-slave replication is widely used in database backup, failover, data analysis and other occasions.MySQL master-slave replication keeps track of all changes to the database (update, delete, and so on) in the binary log based on the master
10G capacity space, 100G month traffic limit, FTP, web upload management files, do not provide a free two-level domain name, you can bind a domain name, Plesk host management panel, support PHP, CGI (Perl), Python, SSI, SSL (commercial space is also
We offer free web space, free hosting, and paid hosting for all of your needs with your own domain name or child. We support PHP, Perl, and MySQL. Join the 122mb.com free web space community
Free online space
Disk storage: 200
Monthly
Free 500MB php/mysql/ftp Personal homepage SpaceFree Space md02Model: Free PHP space 500M (MD02)Current: 999 yuan/yearOriginal Price: 0 yuan/yearContent: 500M Web Space
Support Php+mysql, complimentary 50M MYSQL, support 50 simultaneous connections,
Free Personal homepage Space/250m/100m/mysql/php
You can be free!-Free MB of cyberspace!-Free custom domain name: ESMARTKID.COM,ESMARTWEB.COM,ESMARTGUY.COM,ESMARTBIZ.COM,ESMARTBUYER.COM,ESMARTSTUDENT.COM,ESMARTMUSIC.COM,ESMARTD
Native support Zlib component library, GD Library and. htaccess pseudo static, etc., to ensure that most PHP programs run normally. Home virtual host mainly provided to Emer to build personal blog or to carry out related matters. The following is
Using the Date_format method
SELECT * from ' Ler_items ' WHERE date_format (posttime, '%y-%m ') = ' 2013-03 '
Note: The date must be used ', otherwise no effect
Some other about MySQL date lookup statements
Mysql> Select Date_format (Date_sub
Example 1, a simple stored procedure cursor instance
The code is as follows
Copy Code
DELIMITER $$DROP PROCEDURE IF EXISTS getuserinfo $$ CREATE PROCEDURE GetUserInfo (in Date_day datetime)----Example--Stored procedure
Int
Integer data (all numbers) from -2^31 (-2,147,483,648) to 2^31–1 (2,147,483,647). The storage size is 4 bytes. The SQL-92 synonym for int is integer
varchar
Length is 0-255 characters OH
What is the meaning of the numbers following the int
Aborted_clients
Indicates the number of failed connections due to some reason that the client did not close the connection properly. This can happen if the customer does not adjust the mysql_close () function before exiting, or if the
The simplest method of fuzzy query
In MySQL we can compare using the like or not like operators. Schema defaults are case-insensitive in MySQL.
Query example, Student table
+--------+---------+-------+-----------------+---------+| Studid | name |
Linux Software Installation has a lot of, in order to ensure the stability of the server operation, many people will be compiled software to install the source code to install the software; I'll put up the compile process on the VPS, including the
LAMP is the abbreviation of Linux Apache MySQL PHP, in fact, the Apache, MySQL and PHP installed on the Linux system, to form an environment to run PHP scripting language. As for what is the PHP scripting language, I no longer introduce, please
Mysql "on duplicate key update" syntaxIf the on duplicate key update is specified at the end of the INSERT statement and the DUPLICATE value appears in a UNIQUE index or primary key after the row is inserted, UPDATE is executed ON the row with the
Old Jiang installed the MySQL database by default when installing the website environment on the Linux MB small memory VPS server the day before yesterday. It was found that the installation was not possible because the memory was insufficient
The MySQL architecture is master-slave (master-slave), and the master node is automatically switched to slave when the master node fails. You can also set it to a dual master, but there is a drawback: when the pressure on the master is very high,
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