The operation method described in this article is only usedNonMsi InstallationProgramWhen the installed MySQL program or MySQL program is copied from another PC to the local machine;
Download or copy the latest MySQL program file to the local
1. Download the ODBC driver of MySQL. Address: http://dev.mysql.com/downloads/connector/odbc/3.51.html
2. Install the driver. Just click Next. You do not need to select any path.
3. Start MySQL and sqlserver2k
4. choose Control Panel> performance
Previously introduced select... The usage of for update, but the lock data is to identify the need to pay attention to it. Because InnoDB defaults to row-Level Lock, MySQL will only execute row lock (only lock the selected data example) If a
Concat functions in MySQLUsage:
Concat (str1, str2 ,...)
Returns the string generated by the connection parameter. If any parameter is null, the return value is null.
Note:If all parameters are non-binary strings, the result is a non-binary
MySQL has been added to the stored procedure since MySQL 5.0, because it has not been around for a long time. Many people are asking how to establish the stored procedure in MySQL, next, I have created one as I understand. in ASP. the call method in
I. Environment preparation:
1. Install. Net framework1.1
2. Install MySQL 4.1.x www.mysql.com
3. Install MySQL connector for. net1.0 www.mysql.com
Ii. Problem description: as shown in the following figure:
Iii. Problem Analysis:
MySQL supports
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Label_proc:
Begin
-- Key value used for task table Association
Declare v_faxkey varchar (50) default '';
-- Fax status in the task tableDeclare
As a result of work, you need to query the metadata of the MySQL database, query various documents, and find that the detailed content is very small, you have to explore a little bit, the following is the result of the exploration.
The metadata
1. Introduction
There are two ways to import a MySQL database:
(1) Export the database SQL script first and then import it;
(2) directly copy the database directories and files.
In different operating systems or MySQL versions, the method of
[Intrinsic column flags] (basic field type identifier)-PK: Primary Key (column is part of a PK) primary key-NN: not null (column is nullable) not empty-Uq: Unique (column is part of a unique key) unique-AI: auto increment (the column is auto
Several Problems with MySQL in Linux today:
Task to be completed: Use a local management tool to manage data on the server
In Linux:
/Usr/local/MySQL/bin/MySQL-uroot-p123456 // enter the MySQL Management Interface
Error:
Error 1045 (28000 ):Access
What are the differences between primary keys, foreign keys, and indexes?
Primary Key
Foreign key
Index
Definition:
Uniquely identifies a record. The record must be unique and cannot be blank.
The foreign key of
There are four database isolation levels, as described in the high-performance MySQL book:
Then let's talk about how to modify the transaction isolation level:
1. Modify the global settings, modify the mysql. ini configuration file, and add
1 #
Exists External table query by loop one by one. Each query will view the exists conditional statement. When the conditional statement in exists can return the row of the record (no matter how many rows of the record can be returned ), if the
In recent projects, I plan to use entityframework to work with MySQL databases, but I don't want to have some helpless problems. The development environment is as follows:
Entityframework version: 4.3.1
. NET Framework: 4.0
MySQL version:
Replace runs like insert. There is only one exception. Assume that an old record in the table and a record used for primary
If the new record of a key or unique index has the same value, the old record is deleted before the new record is
I have not studied MySql in depth and have little basic knowledge. I can only use a manual when I encounter any problems. It seems that I have to arrange MySQL learning into a timetable.
Function: from_unixtimePurpose: display the time stored in int
Restart MYSQL:Sudo/etc/init. d/MySQL restart;
Mysql-uroot-proot # connect to MySQL
Mysql> use
Mysql> show tables;
Mysql> select * from ;
Mysql> Delete from where ;
Mysql> DESC ;# table structure
Mysql> show variables like '% set %'; #
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