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.
If you install the SDK according to the default configuration, you only need to follow the steps below.
1. CP/usr/local/MySQL/support-files/MySQL. Server/etc/init. d/MySQL copy the service file to init. d and rename it to MySQL.
2,Chmod +
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
PHP + MySQL authentication method
Author: Wutong
Date: 2001/8/29
Recently, when I made an ICP filing for a school, I needed identity verification. After comparison, I decided to use PHP + MySQL for identity verification. We have previously
After installing MySQL, you will receive the following prompt:
[Root @ localhost desktop] # rpm-IVH MySQL-server-5.5.28-1.rhel5.i386.rpmPreparing... ######################################## ### [100%]1: mysql-server #################################
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
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
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
Create a database on the mysql client:
Create Database bbs2007;Use bbs2007;
Create a new table:Create Table article(Id int primary key auto_increment,PID int,Rootid int,Title varchar (255 ),Cont text,Pdate datetime,Isleaf int #1-not leaf
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
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