In order to install convenient, need to pay attention to a few small details.It is best to install the Xcode before installing this environmentMac OS X 10.10 Yosemite with PHP5.5 and Apache2.4 make the appropriate changes.Mac installs the required
MySQL SQL character join function 1, Concat () function 1.1 MySQL's Concat function can connect one or more strings, such as & nbsp; mysql> Select concat (' 10 '); +--------------+ | Concat (' 10 ') | +--------
First, MySQL master and slave copy
1. Introduction
Why do we use master-slave replication?
Master-Slave replication purposes:
Can do real-time backup of the database to ensure the integrity of the data;
Can do read and write separation,
For content-driven Web sites, the key to the quality of the design is the relational database. In this tutorial, we have built our database using the MySQL relational database management system (RDBMS). MySQL is a popular choice for Web site
The way to reduce this type of problem is to minimize the loss of power to the server and shut down the MySQL database manually when shutting down the server.
Here's a look at this question:
Can ' t open file: ' xxx. Myi ' (errno:145), this error
Test the PHP file
$link =mysql_connect (' localhost ', ' root ', ' zz ') or Die (Mysql_error ());
mysql_select_db (' test ') or Die (' no db ');
mysql_query (' SET NAMES utf8 ');
Echo 99;
?>
Error after run
Can ' t connect to the local MySQL server
In MySQL limit can achieve fast paging, but if the data to millions of when our limit must be optimized to effectively achieve a reasonable paging, otherwise may be stuck to your server oh.
When a table data has millions of of the data is a problem!
Because the UTF8 character set is the character set that is best suited to implement conversions between many different character sets, although you may not be able to view the contents of the database correctly on command-line tools, I strongly
Environment description
This article is used only as the minimum experimental environment, and therefore does not use master, slave mode. Use Mysql_mutil to run two MySQL real columns on a single computerInitializing the Data directory
#
I have a problem today, MySQL Enterprise backup caused the I/O subsystem load is too large, application response slow, resulting in the system is not available. So I want to limit the mysqlbackup process so that it doesn't cause more problems.
The
1. Open MySQL Workbench, select the first page in the middle "Data modeling" under the second column "Create EER Model from Existing Database";2. In the "Stored Connection" select "Manage Stored connections ...";3. In the Manage DB connections
Log file type
MySQL has several different log files that can help you find out what's going on inside Mysqld:
Log files
Type of information entered in a file
Error log
Log a problem that occurs when you start, run,
In MySQL, databases and tables are actually directories and texts in the data directory.
Thus, the sensitivity of the operating system determines the case sensitivity of database and table naming. This means that the database and table names are
mysql5.6 more than the version of CMake compiled, and the previous 5.5 with the./configure compilation is different, for the new compilation method, you can view the CMake help parameters, select the appropriate parameters
Shell>cmake. -lh
--MySQL
This paper introduces how to build a network database application method by Php/mysql of the golden combination of Web database, PHP is a server-side embedded hypertext Processing language similar to Microsoft ASP, it is a powerful tool to build
I. 10 Experiences
1. Do not rely on register_global=on environment, from you just know how to configure PHP to run the environment not even understand Register_global On/off will have any impact on their own day, you should be brave to set it off.
This period of time MySQL on the development process crashes 2 times, has not found the reason, because the use of the MacBook is fully equipped with memory, top view also no exception. SAR is also normal. The MySQL log also has no valuable
Add user insert into Mysql.user (Host,user,password) VALUES ("localhost", "Test", Password ("1234"));Report the following error 1364 (HY000): Field ' ssl_cipher ' doesn ' t has a default value errormysql5.1 The above version, I was operating on
Simple MySQL optimization tool-slow query and mysql optimization tool
Slow Query
First, enabling slow queries is a prerequisite regardless of the optimization. The slow query Mechanism records slow query statements (events) to provide optimization
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