Today, I talked to an architect about some issues. I accidentally said one thing. I was interested in it and recorded it as follows:
1: We all know the InnoDB and MyISAM engines in MySQL. InnoDB has transaction management. Therefore, InnoDB
First, check whether the installed version is named.
: Rpm-Qa | grep-I MySQL // The parameter "I" is not case sensitive.
Second, find some MySQL versions and uninstall them. For example
: Mysql-libs-5.0.45-6.fc7
Run: rpm-e mysql-libs-5.0.45-6.fc7
1. Delete all matching records with ID values in Table T2.
Delete T1 from T1, T2 where t1.id = t2.id or delete from T1 using T1, T2 where t1.id = t2.id
2. From Mysql Data Table T1, no matching records in data table T2 are found and deleted.
Currently, in fedora16, the latest MySQL version 5.5.28 is installed in yum. Unfortunately, an error is reported during systemctl start mysqld. Service. This is a bug, but there are two solutions:
1. Yum update systemd and reinstall it.
2. first
If "error 2003: Can't connect to MySQL server on 'localhost' (10061)" appears, your MySQL has not been started.
Solution: Step 1
Delete step 2 of my. ini under c: \ windowns
Open c: \ mysql \ bin \ winmysqladmin.exe and enter the user name and
In the like Query of MySQL, we find that Chinese search is always hard-earned. We have found several solutions on the Internet. You can refer to the following:Method 1:The solution is to add the "binary" attribute to a field that contains Chinese
ArticleDirectory
18.2.1. Analysis query statement
18.2.2. Index
18.3.1. Split tables with many fields into multiple tables.
18.3.2. Add an intermediate table.
18.3.3 add redundant Fields
18.3.4. optimized the insert record
This article focuses on modifying the root user password and eliminating the password in windows.
1. Password modification: Use the mysqladmin command
1. For example, if your root user does not have a password and you want to change the password
When MySQL 5.1 is upgraded to MySQL, the database must be backed up as an SQL file, and then data must be imported. Copying database files may cause some strange problems, such as Chinese garbled characters, table Corruption and other mysqldump
I wrote it myself in the afternoon and used it for the company's products. I wrote the stored procedure for the first time. Send the code. If you have any questions, ask me.
Delimiter $ drop procedure if exists 'tsts _ user '. 'proc _ login' $
I recently used MySQL and upgraded it to the latest version through emerge. As a result, I encountered a small problem and posted the solution process here. I hope it will be helpful for children's shoes with similar problems.
1./etc/init. d/MySQL
1. install libmysql In the MySQL directory. DLL is copied to c: \ windows \ system32 \ (my name is win7, but also to the: C: \ WINDOWS \ syswow64 directory );
2. Add the MySQL header file to the environment:
3. Add libmysql. lib to the vs 2010
For personal lessons, when adding a MySQL account, you must quote the username and host (local and %). Otherwise, the command is wrong.
Command method. Note that each line is followed by one; indicates that a command statement ends.
Format: grant
Document directory
6.1.1. syntax for creating a table
6.1.2 set the table's primary key
6.1.3 set the foreign key of the table
6.1.4. Set non-empty table Constraints
6.1.5. Set table uniqueness constraints
6.1.6. Set the attribute value of
1. Connect to MySQL
Use the installed mysqll command line. By default, the user is the root user. Here, I use the DOS command line to log on.
1. Connect to MySQL on the local machine
Format: mysql-u user name-P User Password
Example:
Paip. Large solution for breakpoint debugging of MySQL stored procedures and functions
Author attilax, email: 1466519819@qq.comSource: attilax ColumnAddress: http://blog.csdn.net/attilax
1. Debugger for MySQL (5 m) 1
2. dbforge studio for
1. Preparations
Download mysql's latest free installation unzip mysql-noinstall-5.5.25a-win32.zip, decompress it to the relevant directory, such as: D: \ mysql-noinstall-5.1.53-win32. This is the root directory of
1. If you want to install the service, run the following command: DOS (MySQL and later versions are installed as services by default)
> Cd E: \ mysql \ MySQL Server 5.0 \ bin
> Mysqld-install mysql-defaults-file = "E: \ mysql \ MySQL Server 5.0 \ My.
Http://blog.sina.com.cn/s/blog_541086000100tjnb.html
Grant permission on database objects to users
(16:38:43)
Reprinted
Run the "show privileges;" command to view
Grant permission on database objects to users1. Grant normal data users the right to
I. Software Download
Go to the MySQL official website to download the following two tools: mysql-5.1.32-win32.msi, mysql-gui-tools-5.0-r17-win32.msi
The former is the MySQL installation file, and the latter is the MySQL tool installation file,
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.