Write in front:What is written below is just a description of the most recent installation, installed in the absence of MySQL in the system, and later written in a detailed and valuable document based on official documentationInstallation principle:
1, MySQL has a lot of useful functions, good use of them can save a lot of time:Group_concat () the value to be taken is concatenated with commas, so you can use:select group_concat(distinct id) from tablename;The results are similar to:
Summary of MySQL Basics primerabout the database:database is a software developer to master the basic tools, the process of software operation is the process of manipulating data, the data in the database is nothing more than a few operations:
After a few years of Wampserver suddenly declared unable to start, Apache and MySQL crashed, in the computer service option is also unable to start, the system reported an unknown error, re-installed n version of the PHP integrated development
Recently due to a server change to a Linux system. It takes a long time for the MSSQL for Linux to come out to use in the production environment. So consider using the MySQL database, ORM using EF. So first step on the pit and record, the need for
There are a lot of basic commands in MySQL, and the show command is one of them, and it's easy to confuse the use of SHOW commands among many users, and this article brings together the many uses of the show command.A. Show tables or show tables
How SQL Sever stored procedures are converted to MySQLOverall, SQL Sever and MySQL stored procedures are the same idea, but there is a great difference in syntax and structure.1. Write the stored procedure in MySQL all the dbo is removed.2. In SQL
Type
Mysql
Sql server
http
Tomcat
Oracle
Port
320W
1433
80
8080
1521
|----- dos command to start the MySQL serviceStop MySQL: net stop MySQLStart MySQL: net start MySQL|----
Method: After installing MySQL in Linux the default is no password, but for security, we need to set the password, sometimes you can set the password forgotten, then how to do? Then you have to go. Modify a configuration file, it path in /etc/my.cnf,
First, rebuilding Local Users:#vi/etc/my.cnf[Mysqld]Skip-grant-tables# service MySQL RestartShutting down MySQL. DoneStarting MySQL.# mysql-uroot-pEnter Password:mysql> INSERT into Mysql.user (host, user, Password,ssl_cipher,x509_issuer,x509_subject)
The previous understanding of InnoDB on the occurrence of lock waiting, will be based on the configuration of the parameters Innodb_lock_wait_timeout, determine whether to do a timeout operation, this document describes in the presence of lock
See online A lot of people are seeking qt static compilation with MySQL, including myself, but also Google has more than n data to fix, is the so-called drop of Grace when the spring, no online friends of the post I still mengmengdongdong, so here I
Apache+php+mysql Separating and building lampApache and MySQL installations are not describedWhen layered 1. Apache Configuration file Modification 1), enable the relevant module httpdAfter Apache HTTPD 2.4 has a module specifically for the
Adding and deleting is the most basic function of MySQL, which is the most frequent operation, Fuzzy Lookup is very common in the query operation, so fuzzy search has become a compulsory course.Like modeLike means look, there are two modes: _ and%_
Here I summarize the common PHP connection MySQL database and read Write database method, I hope to help you, of course, as a review of my own summary.1. To better set up a data connection, the values involved in the data connection are typically
Transferred from: http://www.ihref.com/read-16422.html1. To optimize the query, avoid full-table scanning as far as possible, and first consider establishing an index on the columns involved in the Where and order by.2. You should try to avoid null
Quickly deploy MySQL and one machine and multiple instances to deploy mysql instances
MySQL has three versions: binary, source code package, and RPM.
The following describes how to install a binary package.
:
Use SQL statements in MySQL to rename fields.
In MySQL, how does one use an SQL statement to rename a table field? We will use the alter table SQL statement.
Syntax for renaming a field: alter table change .
Now we will try to rename the t_name
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