Chinese garbled characters. this is the biggest headache. I am using the database connection pool, In the DB. the URL in propertise sets the character set to UTF-8. If the characters written to the database are garbled characters on the JSP page, it
Command Line Mode
1. encoding format conversion (the command line is GBK encoding and MySQL must be told to be GBK encoding currently)
2. Insert a table, as shown in
3. Get the field attributes of the definition table
4. Calculate the
Open the command line window and stop the MySQL service:Net stop MySQLStart mysql. Generally, go to the MySQL installation path and find mysqld.exe.Run: mysqld-NT -- skip-grant-tables. The current window will stop.In addition, open a command line
There are many similar articles on the internet, either outdated or not comprehensive. It is difficult for new users to read and understand the truth. I wrote this article and hope it will help new users.============================== Related
The MySQL version used in this article is 5.1.48
Select SQL _no_cache * from one where ID
#0 my_qsort2 (base_ptr=0x1b2176c0, count=4, size=8, cmp=0x869220,cmp_argument=0x4670ea38) at mf_qsort.c:115#1 0x00000000008690ea in my_string_ptr_sort
Original article: http://dinglin.iteye.com/blog/1625195
Some people ask whether the locks of querycache (QC) in MySQL are "global locks" or "Table locks ". Here is a brief description.
1,Basic QC concepts
This is a memory structure implemented
(1) Implement result set a-result set B: -- use not
Exists. Union is available for merging.
Exists, not
Exists: used to determine whether or not result set a exists in result set B!
=========== Result set:
Select
D. device_id, D. device_name, A.
Installation steps:
1. mysql
Download the mysql for linux rpm package on the following page
Http://www.mysql.com/downloads/down...3.52-1.i386.rpm;
Http://www.mysql.com/downloads/down...3.52-1.i386.rpm;
Save to the/home/tmp directory
Command list:
Readers who have studied database theory should still remember the Performance Comparison Between char and varchar: Char is faster than varchar because Char is of a fixed length and varchar requires a length identifier, an extra operation is
1. The basic syntax format of grant is:Grant permission on database objects to users
Grant [-option operation permission] on [-database]. [-table] to [-user operation user] @ "[operation user IP address]" [-set password]
Option operation permission:
1. Go to mysql and create a new user, xuys. Format: grant permission on Database Name. table name user @ login host identified by "User Password"; grant select, update, insert, delete on *. * to xuys@192.168.88.234 identified by "xuys1234"; view the
Source: China 163 Shinkansen
Summary:Summary of installing resin + mysql + IIS + JDK1. Install JDK first:One worker downloads j2re-1_4_1_02-windows-i586-i.exe, and then installs it directly.2) environment variables after installation:PATH:
I wrote it a few months ago. It was messy and it was released from my mailbox.
Mysql selectIt is said that when writing a SELECT statement, try to write the name of the selected column instead of using select *. In fact, simple tables do not
1 Chinese problem, when using MySQL instance Configuration tool, set the character set to GBK instead of UTF-8
2. The password cannot be accessed after MySQL is installed:
Mysql> SET PASSWORD-> 'Some _ user' @ 'some _ host' = OLD_PASSWORD ('newpwd ')
Compile GEOS
Download GEOS-3.3.4 Source Code address: http://download.osgeo.org/geos/geos-3.3.4.tar.bz2
Enter the Visual studio command line Environment
Go to the decompressed directory of GEOS.
Type the following command:autogen.batNmake/f
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