Here is a solution for MySQL query error prompts. Some of them can be solved by yourself. It is not necessary to ask questions over and over again. Unless it is a conventional method that cannot be solved ~
The following is a common database error
This article is original. If you need to reprint it, please indicate the author and the source. Thank you!Previous: C # thread series (4): synchronization and deadlock
In the previous lecture, we introduced the usageLockTo synchronize threads.
MySQL Error
Code List:
1005: An error occurred while creating the table.
1006: database creation failed
1007: the database already exists. An error occurred while creating the database.
1008: the database does not exist. An error occurred
1005: An error occurred while creating the table.
1006: database creation failed
1007: the database already exists. An error occurred while creating the database.
1008: the database does not exist. An error occurred while deleting the database.
1009:
Today, Mr. Yuan Longyou continued to talk about databases. I didn't attend lectures. Below is a training diary recorded by Zhang Ting.
Stored ProcedureStored procedures are a combination of some code. Similar to Java methods, developers generally
Because the "transaction isolation level" of SQL Server is read committed by default (which cannot be read during the transaction), and the locking of SQL Server causes blocking, by default, other processes must wait indefinitely (lock_timeout =-1 ).
Database review 8 -- concurrency, database review 8Database review CH15 concurrency 15.1 concurrency issues
The I (Isolation, independent) of the ACID nature of the transaction, and the concurrent transactions are transparent. The interspersed
The following is a description of parameters in the my. cnf configuration file:
[Client]
Port = 3309Socket =/home/mysql/tmp/mysql. sock
[Mysqld]
! Include/home/mysql/etc/mysqld. cnf # contains the configuration file and stores the user name and
MySQL database Optimization
How should we optimize the MySQL database? Next I will explain this problem from MySQL's hardware selection, MySQL installation, my. cnf optimization, MySQL architecture design, and data splitting.
Optimization of server
Microsoft SQL Server JDBC Driver 3.0 official address: http://www.microsoft.com/downloads/zh-cn/details.aspx? FamilyID = a737000d-68d0-4531-b65d-da0f2a735707
For MySQL 2.0, the support for SQL server 2008 R2.
Changes from 2.0 to 3.0:
327029 the
Stored Procedure Overview
------------------------------------------------------------------------------ What is stored procedure: stored procedure can be said to be a record set, it is composed of some T-SQL statement code block, these T-SQL
SQL Server troubleshooting tips and tricks
Page
Discussion
You can view its source [e] "accesskey =" E "href =" W/index. php? Title = SQL _server_troubleshooting_tips_and_tricks & Action = edit "> View Source
History
From sqlserverpedia:
Martin's enterprise application architecture model # post-reading # first, this book was written before Year 89, and the translation is quite different from the popular terms, for example, the field is often translated into a "field", and the
How to adjust the DB2 databaseSharing performance and practical skills. If you have read the relevant materials, it may be helpful for you to learn more.
1. SQL Cost AnalysisIn many cases, a simple SQL statement may make DB2 in an embarrassing state.
In some cases deadlocks can be avoided. This article shows three techniques for avoiding deadlocks:
Lock order
Lock time limit
Deadlock detection
Lock orderDeadlocks can easily occur when multiple threads require the same locks,
First, the basic knowledge.1: Thread synchronization mechanism: Mutex, read/write lock, condition variable, spin lock, barrier.1, Mutex: Each process accesses a resource protected by the mutex, it needs to first determine the mutex.1) Mutex
A local variable is identified with a @ identifier, with a global variable of two @ (commonly used global variables are generally defined);
Declare local variable syntax: DECLARE @ variable name data type; For example: declare @num int;
Assignment:
In the MySQL development error code in a variety of, I would like to collect the common use of MySQL used in the process of using the error code in the Chinese explanation, I hope that some of the articles to help friends
1005: Failed to create
1. Mutex Object classThere are two main types of mutex classes: exclusive and shared mutex.▲ Exclusive Mutex Amount:Mutex: Exclusive mutex, which is the simplest and most common type of mutexTry_mutex: It is a synonym for a mutex, provided for
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.