Output Excel file headers, you can replace user.csv with the file name you want
Header (' Content-type:application/vnd.ms-excel ');
Header (' Content-disposition:attachment;filename= "user.csv");
Header (' cache-control:max-age=0 ');
MARIADB is a MySQL branch version of the Maria storage engine, a free Open-source database server developed by a company founded by the original MySQL author Michael Widenius.
Download Mariadb 5.1.50:http://downloads.askmonty.org/
Improvement
mysql| problem MYSQL 4.1 after the adoption of a new user authentication protocol, for the old client will appear unsupported authentication protocol errors, the following is the official website solution;
1Upgrade all client programs to use a 4.1
The third milestone edition of MySQL 5.5 was released, and one of the biggest changes in this version was the addition of a metadata repository for performance, the database named Performance_schema, and the storage engine used was
1: Under the terminal: Mysql-v. The following code snippets are: [Shengting@login ~]$ mysql-v mysql Ver 14.7 distrib 4.1.10a, for Redhat-linux-gnu (i686)
1: Under the terminal: Mysql-v. The following is a code fragment:
[Shengting@login ~]$ Mysql-v
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.
2. See how to use
js|mysql| Code | solution | data | database
To solve JSP garbled, first of all to understand the JSP garbled reason
1. Install the server installed MySQL will let you choose a code, if this code and your Web page is inconsistent, may cause JSP page
We browse the website article or post, we need to express their feelings after browsing, in many sites have provided to the user to express the mood of the function, through this function can be intuitive statistical analysis of the article or post
mysql| Data | database | Optimization decided to begin to learn Oracle, with MySQL has not been a short time, write these today is a MySQL trip to their own account of it. The following is just my personal experience in the process of using MySQL,
mysql| Backup | data | database
It is important to back up your database if your database tables are missing or corrupted. If a system crash occurs, you will want to be able to recover as few data from your table as possible to the state at which
MySQL read-write separation is to improve the speed of Web site access, improve the database of concurrent load capacity.
However, in the actual production environment, the single MySQL as a stand-alone database is completely unable to meet the
Configuring a MySQL server is inseparable from the configuration file, and then it starts with this section of the content.
Be sure to know the location of the configuration file first, and if you don't know, you can try the following:
In the final analysis, MySQL is running on the operating system of a software, it needs to use the file system to store data, this article mainly introduces the MySQL data directory organization structure.
Location of the Data directory
You can
MySQL supports a lot of data types, choosing the right data type is critical to performance, and this article discusses how to correctly choose the data type of MySQL.
Integer
There are several integers: TINYINT, Smaillint, Mediumint, INT, BIGINT,
Note: Index (name,age) represents the establishment of a federated index on the name,age two column
Since indexes have a critical impact on the query performance of the database, here are some of my summaries and experiences:
A query can only use
Configure mysql+lvs+keeplived to achieve load balancing for MySQL read operations
Environment:
Test1192.168.46.131master
Test2192.168.46.130slave Backup Test Library
TEST3 Scheduler
1, installation and configuration keepalived
First installs
Xtrabackup, an Open-source software developed by Percona, is an open source alternative to the InnoDB hot standby tool Ibbackup (fee-based commercial software). The xtrabackup consists of parts: Xtrabackup and Innobackupex, where the Xtrabackup tool
Learn about MySQL's source directory
Includes client code, server-side code, test tools, and other library files
MySQL Source structure
BDB Berkeley DB Table engine
Build builds a project script
Client clients
Cmd-line-utils Command line tools
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