For a long time did not write a blog, recently learning PHP, so the environment configuration to share with you.
Software Preparation:
The prepared software is shown in the following illustration.
Apache found 64 drops
Apache server has nothing to say, try to go to the official website to download the latest.
There is a place to note: PHP Tutorial is loaded into the form of a module in the Apache container, that is, when you configure Apache loading PHP module,
MySQL command line, you can modify the MySQL database password, the following for you to detail the MySQL command line, if you are interested, may wish to see.
Format: Mysqladmin-u username-P Old password password new password
1, to root add a
The error code is as follows
AabbWarning:mysql_connect () [Function.mysql-connect]: [2002] Unable to connect because the target machine is actively rejecting. (Trying to connect via tcp://localhost:3306) in x:test7.php on line 6
A remote connection to the MySQL database prompts the following message: "MySQL connect error–1130:host ' 202.43.**.** ' is not allowed to connect to this MySQL server"
Originally in the Create MySQL account is, limited Connection account remote
Nagios graphical interface is still a bit cumbersome, let's take MySQL for example. Monitoring MySQL plug-ins more, here to understand the method, rather than dead to move hard sets.
One, install Pnp4nagios
[Root@localhost objects]# yum install
Here in the CentOS6.6 system to install the MySQL source code package, to explain.
1. mysql Source package download
The official download address for the MySQL installation package is: http://dev.mysql.com/downloads/mysql/5.6.html
After opening
MySQL clustering is a technology that allows you to deploy the Cluster of the in-memory and disk databases on systems that are not shared. With no shared architecture, the system can use inexpensive hardware and no special requirements for hardware
First, basic usage
1. Add Column
ALTER TABLE Tbl_name add col_name type
For example, add a column of weight to the pet table,
Mysql>alter table Pet Add weight int;
2. Delete Column
ALTER TABLE Tbl_name drop col_
Parameter Introduction
Innodb_flush_log_at_trx_commit0: Every 1s, the system background thread brush log buffer, that is, the redo log brush disk, here will call Fsync, so you may lose the last 1s transaction.1: Each commit, brush redo log,
Mysql-u Root-p Press ENTER, after entering the password, you are prompted for access denied......ues password yes/no error.The first step:Then you need to go into the/etc/mysql directory, then sudo vim/vi debian.cnf to view the username and password
MySQL Slow queryIn web development, we often write some SQL statements, a bad SQL statement may make your entire program very slow, more than 10 seconds the average user will choose to close the Web page, how to optimize the SQL statement to run
Installed a navicat, and then to connect to the MySQL server, has not been connected, the first thought is a firewall problem, and then the firewall is closed,Iptable service shut down, or not, online check the following: Mainly because the set up
Starting the MySQL service often prompts the following error:ERROR 2002 (HY000): Can ' t connect to local MySQL server through socket '/var/lib/mysql/mysql.sock 'This is due to the mysql.sock location of the socket file that modifies the MySQL
Reproduced=======mysql Introduction and Overview =================MySQL is a small relational database management system, the developer of the Swedish MySQL AB company, has nowAcquired by Sun to support various operating systems such as FreeBSD,
Because it was all about looking at someone else's project, instead of building a project from start to finish, there was a problem with this attempt to build, mainly the VS2013 and MySQL connections in the ASP. NET MVC project.First question:The
On a 64-bit machine, if you want to connect to 32-bit MySQL, you will typically install MySQL CONNECTOR/ODBC 64-bit and connect properly in the configuration of ODBC data source tests, but when the program is connected, such as ASP, ASP, net, VB,
Zabbix Monitor nginx,php-fpm and MySQL memory usage and number of processes with custom scriptsFirst, add a script under the Zabbix script directory and write the following code#!/bin/bash#license: GPL#mail: [Email protected]#date: 2015.04.16Top-bn1>
Understanding MySQL-index and optimization summary, mysql Index Summary
Preface: indexes have a crucial impact on the query speed. Understanding indexes is also the starting point for optimizing database performance. Consider the following: Assume
Mysql Character Set and mysql Character SetMysql Character Set
Character Set Basic Character Set: the character set in the database contains two meanings character set classification:
ASCII: Standard American information interchange code; English
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.