IntroductionMy machine is win8.1, on the official website to download this installation is 32-bit and 64-bit can be installed, installation procedure reference: http://jingyan.baidu.com/article/67662997305dcd54d51b84d4.htmlPost-Installation
After installing the XAMPP in the Mac, you need to use the terminal command line operation, such as input: Mysql-u root-p, not properly configured before the desired input password hint, but will prompt:Command not FoundIt turns out that when you
Today with the information collected through the online and their own practice, with the crontab command to do a remote server database backup, hope to be useful to everyone.The operation steps are as follows:1. Open Putty, enter the password here,
Installing Mysql-5.5.28Since the data stored by MySQL is getting bigger and larger, I recommend storing the data on the LVM file system.1. Making LVM File systemThere is no longer a production process here, assuming we have done an LVM and mounted
compiling mysql.so# into PHP-5.2. 14 Source Directory CD/usr/local/src/php-5.2. -# Enter the source directory of MySQL ext CD ext/mysql# Build the compilation configuration, assuming that the PHP compilation directory is/usr/local/php//usr/local/php/
Recently, a distributed test system has been implemented that implements the basic features of the main architecture and the MVP (minimum viable product) version. In terms of architecture design, database design, implementation, and so on, the most
First refer to the MySQL5.5 official manual for the following chapters:Section 6.4 How to set up replication13.6.1 section for controlling the primary server SQL statements13.6.2 section for controlling SQL statements from the server6.8 section copy
The so-called read and write separation is the preparation of two types of MySQL database, a update operation (master), a query operation (slave). Call Master when the application needs to update data and invoke slave when querying data. The benefit
Yum after installing MySQL plan to change the database directory, after a few attempts did not find a completely desirable scenario, here is a relatively simple scheme to make a record1. First make sure that MySQL is running: Service mysqld
1: Back Up common tools:Mysqldump, Xtrabackupmysqldump: Native data export tool, export Save as SQLBackup tools provided by the Xtrabackup:percona team, file system-based backup2: Back up the whole library:Mysqldump-h10.6.29.1-uroot-p--all-databases
Use of the Concat functionConcat (STR1,STR2,...)The returned result is a string that is generated after the parameter is concatenated, and if any one of the arguments is NULL, the returned result is null.Mysql> Select Concat (' My ', ' s ', ' QL ');
The original use of MySQL processing less data, small-scale, do not pay attention to the performance of the problem. The recent spike in data volumes, at least 20W of new data per day, has caused MySQL to be poor in performance and must be valued
MySQL Master/Slave replication and read/write Separation
The so-called read/write splitting is to prepare two types of MySQL Databases in advance, one for update (master) and the other for query (slave ). When the application system needs to update
MySQL System variables (systemvariables)
MySQL system variables are actually some system parameters used to initialize or set the database's occupation of system resources and file storage location. These System variables can be modified at the
Modify and view MySQL character sets1. About MySQL Character Set
MySQL Character Set Support has two aspects:
Character set and Collation ).
MySQL supports character sets in four layers: server, database, table, and connection ).
MySQL can refine
Mysql batch deletes a table with a prefix or suffix
Oracl has the usage of drop table like, but mysql does not. You can write scripts (not to repeat them) or assemble SQL statements.
Note: My database name is test and there is a table named data.
Mysql uses indexes to optimize order sorting
Original address: http://www.phpthinking.com/archives/433
In the database, we usually perform index operations on some fields, which can improve the data query speed and improve the database performance
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