PHP 5.3.1
MySQL 5.0.89
Nginx 0.8.33 or 0.7.65 (optional)
This can be compared to what is circulated on the Internet a key installation package is much better, strongly recommend this method installation, suitable for all rookie and master. My
#include "stdafx.h"
It's a sister article from the previous chapter.
Code from the network, I learned to tidy up a bit, test pass, the following parameters
Need to set for your own
In the DBMS centerline to create a database www,table www,file field
Application Scenario:Sometimes you need to test the records that you insert into the database to test, so you need these scripts very much.
To create a table:
CREATE TABLE ' tables_a ' (
' id ' int ') NOT null default ' 0 ',
' name '
First, install MySQL
At present, the Web server has very few run static page, if you want to run dynamic Web site that of course can not be separated from the database, although in the previous article has written how MySQL is
How to start/stop/restart MySQL
First, the way to start
1, use service to start: Service mysqld start
2. Start with mysqld script:/etc/inint.d/mysqld start
3. Use Safe_mysqld to start:safe_mysqld&
Second, stop
1, use service to start: Service
MySQL before the installation of the 5.7.12 did not make a summary, to replace the new computer, fill in the installation record, installation, find some users of the installation records, found a lot of pits
(i) MySQL 5.7.13 installation
MySQL's own engine must be enough, but in some cases other engines might be better suited to the task than the one at hand. If you want, you can even use the mysql++ API to create your own database engine, like a cylinder with your own carburetor.
I. Installation of NginxAn order to fix:USE=FASTCGI emerge Nginx
New Users and Groups:Groupadd wwwUseradd www-g www
Nginx installed by default will add Nginx group and Nginx users, but I am still accustomed to create a new www group and WWW users
Prepare the article:
CentOS 5.x System installation Configuration Diagram tutorial
Http://www.jb51.net/os/128754.html
1, configure the firewall, open 80 ports, 3306 ports
Vi/etc/sysconfig/iptables
-a rh-firewall-1-input-m state--state new-
However, there are ways for your to get results this are in your preferred. The determine how many hours your desired timezone are off from MST. For example, EST is +2 hours. PST is-1 Hour.
Knowing the time offset, your can replace all your SQL
Introduction to basic environment and basic Environment configuration
Node 1:node1.hulala.com 192.168.1.35 centos6.5_64 add 8G new Hard driveNode 2:node1.hulala.com 192.168.1.36 centos6.5_64 add 8G new Hard driveVIP 192.168.1.39
Both node 1 and
Recently followed a Web site to learn a small project, because there are classes during the day, so it is written in the evening, today to finish it.
The main project is to implement a file upload, through the client landing, the local files
If you have previously installed MySQL, unload load, you will most likely encounter "a Windows service with the name MySQL already exists." Such a hint. That is, the service already exists.
We can view it in the Window Task Manager----service and
This article for you to share a solution to the MySQL storage engine MyISAM common problems, for your reference, the specific content as follows
One, processing the MyISAM storage engine table damage
When using MySQL, you may experience a MyISAM
MySQL has three versions: binary, source package, RPM.
The installation process for binary packages is as follows
Download Address: http://dev.mysql.com/downloads/mysql/
Select Linux-generic
My choice here is mysql-5.6.28-linux-glibc2.5-x86_64.
Not in, JOIN, is NULL, not exists efficiency comparison
Statement one: SELECT COUNT (*) from a where a.a to (select a from B)
Statement two: SELECT COUNT (*) from A left join B in A.A = B.A where B.A is null
Statement three: SELECT COUNT (*) from
MySQL stored procedure parameters (in)MySQL stored procedure "in" parameter: similar to the value of the C language function parameter, this parameter may be modified internally by the MySQL stored procedure, but the modification of the in type
0, first to see whether the current open slow query:
(1) Quick way to run SQL statements
Show VARIABLES like "%slow%"
(2) directly to the my.conf to view.
Configuration in my.conf (add under [mysqld] below)
Simple installation configuration instructions for Zabbix1. Install Zabbix on the basis of existing lamp or LNMP, install some dependent packages:
Yum-y Install Mysql-devel libcurl-devel net-snmp-devel
2, add Users:
Groupadd
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