Preface
Many people regard the as the "Bible" for database table structure design. They believe that the design can optimize the table structure as long as it is designed according to the needs of this paradigm, it guarantees excellent
Default installation directory of MySQL
Linux:/var/lib/MySQL/Windows: C: \ Program Files \ mysql \
MySQL command line history file
~ /. Mysql_history
Start MySql in Linux.
#/Etc/init. d/MySQL stop#/Etc/init. d/MySQL start
Restart
Scenario settings
The client is an Android mobile phone. After logging on to the client, you want to save the online status of the client (server). Each online user has a corresponding checksum value, which needs to be verified each time an
When using Perl to write data to a MySQL database through DBI, if the content encoding method is inconsistent with that of the system, garbled characters will occur in the database.
The result is as follows:
After connecting to the database, set the
Today, the user responded to a CI list page and opened it very slowly.
View
Code It is found that the SQL statement used to load the list is composed of multiple left join tables.
Select nm. ID, nm. model_id, NMM. code, nm. serialcode, nm.
Ado. Net driver for MySQL
MySQL. Data. dll is a driver used by. Net to access the MySQL database. The full ADO. NET data access mode is officially provided by MySQL and multiple versions are available.
The first environment to be used:. net2.0 +
. NET is now the choice of many developers, and MySQL DATA has always been a lightweight, fast, and free developer, while PHP + MySQL has always been the method used by many large websites. Can we use a combination of. NET + MySQL? Of course. From
After a day, I finally got it done.
MySQL has two modes: MyISAM and InnoDB.
If MyISAM is used, the. frm. MYD. myi files will be stored in the data directory, so you can directly move the data to restore it After configuring the permissions.
If it
Many people use phpMyAdmin or command line to modify the root password of MySQL. After restarting, they find that the MySQL login error. Why? To modify the root password of MySQL, you must modify the root password in the MySQL database of MySQL
Encoding: The page encoding is gbk2312, Java encoding is GBK, MySQL database table encoding is UTF-8, and tomcat default encoding is GBK.
Garbled characters: enter Chinese characters on the page. During the insert operation, the tomcat-level
Logical module composition
In general, MySQL can be seen as a layer-2 architecture. The first layer is usually called sqllayer. All the work done before the MySQL database system processes the underlying data is done at this layer, including
Preface
Some people reported the previous articlesArticleToo much theory lacks practical operation details. This article will introduce more practical content.
Note: This article is based on MySQL. A lot of content applies to other relational
I. Differences in Common commands of different versions
Show innodb status \ G mysql-5.1
Show engines innodb status \ G mysql-5.5
User @ '%' about grant authorization mysql-5.5 does not contain localhost
Ii. Main differences between MySQL 4.1/5.0/5
MySQL Official Website: http://www.mysql.com/downloads/
There are several versions available on this download page.
1. MySQL Community Server Community version, open source free, but does not provide official technical support.2. MySQL Enterprise
The creation and merging of mysql tables is similar to that of partition tables. It is a feature of mysql that combines multiple myisam tables with the same structure into a virtual table. The surviving engine must be merge, the query from a merged
I have been using nhib.pdf for nearly a year. I have sent an example of a recent project. If you want to learn about Nh, you can download it for reference.It also includes the mode of operations Ser and Radius, ing compound primary key, guid primary
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