Step 1: Download mysql-4.0.14b-win.zip?mysqlcc-0.9.4-win32.zip
Step 2: Find the driverProgramMySQL currently provides the Java driver for connection/J, can be downloaded from the MySQL official website, extract and find the mysql-connector-java-3.0.
I originally installed MySQL on the d disk. The system has been reinstalled recently and cannot be used. What should I do? How can I continue using MySQL and transfer the original data to the newly installed MySQL?1. copy the data folder in the
The process is like this:
Slave
42.121.189.236Get data
192.168.1.119And then send the data
192.168.1.110On Recovery
Then, let's take a look at this process,
(I) fetch data from 42.121.189.236 on 192.168.1.119 and send it to 192.168.1.110.
$
MySQL cold backup, also called offline backup
Is the simplest:
● Simple backup: you only need to copy the relevant files.
● Easy recovery: you only need to store the copied files in the same directory.
It is also the safest:
● The optimal method
(I) Error Log
① Parameters
Log_error: Specify the log location and name
② Function
(1) Error/alarm information
(2) optimization help
(Ii) Slow query log
① Parameters
Log_slow_queries: Specify the log location and name
Long_query_time: SQL
Although this article is intended to understand, but it can be understood a little. After all, Zhuge Kong Ming is
Only character-based values have the so-called Character Set Concept.
Some character sets may require more CPU, more memory and disk
(1) udev Basics
Udev can manage files stored in the/dev directory. Files are generated only after the device is connected, and are automatically deleted after the device is pulled out.
It also allows you to add rules to modify the default name and
Documentation for mysqldump: http://dev.mysql.com/doc/refman/5.1/zh/client-side-scripts.html#mysqldump
MysqldumpIt is most commonly used to back up an entire database:
shell> mysqldump db_name >backup-file.sql
You can read the dump file back to the
Today, the project encountered a problem where the SQL query results need to be sorted by field "Custom.
For example, the default value is 0, 1, and 2. The result is 1, 0, 2, 1, 2, and 0;
MySQL uses field ('field ',...) Note: The first field is
Download the Installation File
Copy the downloaded file to/usr/local
# Cd/usr/local
Decompress MySQL
# Tar-zvxf mysql-5.0.41-linux-i686-glibc23.tar.gz
Rename
# Music mysql-5.0.41-linux-i686-glibc23 MySQL
#
MySQL replication (Basic Principles of master and slave)
1. Replication ProcessMySQL replication is an asynchronous replication, from one MySQL instace (called Master) to another MySQL instance (called slave ). The entire replication operation is
1. commands for starting MySql in Linux:Mysqladmin start/ECT/init. d/MySQL start (the installation path of MySQL is earlier)
2. Command for restarting MySql in Linux:Mysqladmin restart/ECT/init. d/MySQL restart (the installation path of MySQL is
MySQL: 5.5.
System: winodws XP
1. Set vc6.0
Reference: http://blog.163.com/aoxiangtiankong@yeah/blog/static/84112026200951051417721/
(1) Open the options Option Under the Tools menu in the vc6.0 toolbar, and select "includefiles" in the "show
FirstI would like to express my gratitude to the original author for the fact that most of my experiences come from here..
Http://blog.csdn.net/xiaoxiao54562/article/details/8285659
In addition, the things after this are all things that I think
Run the following command in the DOS MySQL installation directory/bin directory:Mysql-u username-P databasename use database_nameRun the following command:Mysql> source 111. SQLThe default 111. SQL path must be placed in the bin of MySQL.Import
I. What are MySQL table shards and partitions?
What is table sharding? On the surface, it means dividing a table into N small tables. For details, see the three methods of MySQL table sharding.
What is a partition? partition refers to dividing data
Linux selected in the last semester, because the last semester is relatively time-consuming, so there is no time to sort it out, now it is well organized, keep it for future use.
1. Download Apache libxml2 PHP MySQL files.
2. install Apache
Tar-zxvf
First, I would like to share my consistent point of view: From a performance perspective, MySQL will not lose to any other database system. If it has any shortcomings, it should mainly be in "functions" and "easy to manage. (The so-called
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
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