CentOS7 default database is MARIADB, configuration and so on is not accustomed to, so decided to change to MySQL, but CentOS7 yum source in the default seems to be no MySQL. To solve this problem, we first download the MySQL repo source.
1. Because
1 Windows platform Mysql-5.6.14-win32.zip compression pack for MySQL Community server download from http://dev.mysql.com/downloads/mysql/
2 Extract the file to F:\mysql-5.6.14-win32
3 Switch to directory F:\mysql-5.6.14-win32, copy file My-default.
In the DBMS centerline to create a database test,table bintest,data field data type can be tested with Longblob
Test file C:\\test.iso, you can find any one file to modify it, I am looking for an EXE program, modified for Test.iso just
Maximum test
first step-install MySQL
Download this server, MySQL GUI tool, and MySQL ODBC driver to http://dev.mysql.com/downloads/. The servers you can choose from are: 5.0, 5.1 or 6.0. Then install them.
Considerations during the installation:
Your firewall
It's not much, it's just a code.
A query of numeric data:
SELECT * from Tb_name WHERE sum > 100;
Query predicate:>,=,,!=,!>,!,=
Two query strings
SELECT * from tb_stu WHERE sname = ' Xiao Liu '
select * from Tb_stu where
Overview:
This article no longer to the MySQL grammar explanation and explanation, want to understand or familiar with the friend please own Baidu or Google learning. This article is mainly aimed at MySQL in addition to the grammar of the summary,
Resource type
Two resource types are used in the MySQL module. The first is the connection handle for the database and the second is the result set returned by the SQL query.
Predefined constants
The following constants are defined by this
Objective
During the development of the database, the complex business logic and the operation of the database are often encountered, and the stored procedures are used to encapsulate the database operations. If the project has more stored
Objective
Index is the data structure that helps MySQL get data efficiently. It is critical for high performance, but people often forget or misunderstand it. Indexes are more important when the data is larger. Small, lightweight databases can have
The output of the Processlist command shows which threads are running, which can help identify problematic query statements, and use this command in two ways.
1. Enter the Mysqladmin processlist into the Mysql/bin catalogue;
2. Start MySQL, enter
Operating system: WINDOWS-XP systemDatabase version: MySQL 5.x
Tips:
Access denied for user ' root ' @ ' localhost ' using password yes/noOriginally all good, today boot up to prompt the above error, restart MySQL or not.Note that my environment
1.1 Environment Construction
Prepare two Windows NT hosts, install Ikey Server Windows version, make sure the version is correct, ensure the MySQL service starts properly, make sure that the two hosts are in the same LAN, determine which one is the
Prepare the article:
CentOS 6.6 System Installation Configuration Diagram tutorialHttp://www.jb51.net/os/239738.html
1, configure the firewall, open 80 ports, 3306 ports
Vi/etc/sysconfig/iptables
-a input-m state--state new-m tcp-p
This article describes the PHP implementation with read and write separation function of the MySQL class. Share to everyone for your reference, specific as follows:
Overview:
1. According to the SQL statement to determine whether to connect read
MySQL is a relational database management system, the official website is http://www.mysql.com/, divided into MySQL Enterprise Edition (commercial), MySQL Cluster CGE, MySQL Community Edition Three versions, the first MySQL Enterprise edition need
Method One:
Select ' Name ' from Mysql.proc where db = ' your_db_name ' and ' type ' = ' PROCEDURE '//stored procedure
Select ' Name ' from Mysql.proc where db = ' your_db_name ' and ' type ' = ' function '//function
Method Two:
Show procedure
Usage of IS NULL statement in MySQL database
Note that in MySQL, 0 or null means false and other values mean true. The default truth value of a Boolean operation is 1.
The special handling of NULL is in the previous section, in order to determine
Hello everyone! Long time no see everyone, the last time I wrote a file with PHP chat room operation, of course, is porous, and every time the screen is very bad! I think for a long time, is there a way not to refresh, you can get the message of the
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