I. Introduction==========This document describes how to install and configure a MySQL cluster based on two servers under RHEL. MySQL can continue to run when any server encounters a problem or goes down.
Note!Although this is a MySQL cluster based
If I have multiple MySQL versions, how can I make them work together and get along with each other? In WIN environment
A) Start the cmd window and run the MySQLd-nt command in the/bin directory to install the service. For example:
MySQL-nt-install
After more than n days of installation, I finally successfully installed Oracle on the Linux system of my computer. The efforts made over the past few days have a little return, so the mood at this time is still very good!
In fact, installing
I have always felt that it is complicated to install Oracle 10 GB on Ubuntu, which is not as easy as mysql (although mysql is not good at learning ). You must install an Oracle 10g server on your machine to learn how to use it. The oracle design
I checked the shell script $ Oracle_HOME \ bin \ dbstart and found a bug.
He thinks PFILE =$ {ORACLE_HOME}/dbs/init $ {ORACLE_SID }. ora, but after oracle9i is installed by default, the init $ ORACLE_SID.ora file is not in the $ ORACLE_HOME/dbs
All Integer types can have an optional (non-standard) attribute UNSIGNED. You can use an unsigned value when you want to allow only non-negative numbers in a column and the column requires a large upper limit value range.
Mysql4:Mysql> create table
It is said that MySQL performance is very good. Prepare to test it. If the effect is good, replace the database with MySQL. But I didn't expect it to take two hours! But now we have solved the problem. Well, now we can record the things we learned
MySQL 5.0.18 running server is installed in red-flag Linux.
You can run the client in win2003 (graphical interface MYSQL-FRONT) to log on to the server, the error is:
ERROR 1130: Host '10. 3.69.239 'is not allowed to connect to this MySQL server
I used mysqldump for backup, which is easy to store as text files, but it is slow. Of course, the fastest backup method is to copy the data directory directly. But in general, MySQL services must be shut down before you can do it. Otherwise, when
1. Download the source code package
Download To http://dev.mysql.com/downloads/mysql/6.0.html in mysql-6.0.0-alpha.tar.gz
2. Create a user group and user group for mysql
Groupadd mysqlUseradd-g mysql
3. Compile and install mysql
Cp mysql-6.0.0-alpha.
I wrote a script to check the domain name and run it on my Ubuntu 8.04 Desktop machine. An error occurred while importing data to the Mysql database:
Mysql> load data infile "/home/cron/ddd.txt" into table test;ERROR 29 (HY000): File '/home/cron/ddd.
Any database may have certain security risks during its long-term use. For database administrators, a complete set of database backup and recovery mechanisms should not only be intended for the secure operation of computer operating systems. When
Today, the company has installed Oracle 10g rac for linux on its own. The two database versions are oracle 10.2.0.1.
Record the process of upgrading the database to 10.2.0.4 by patching
1. First download the patch 10204 for linux with the patch 68101
Abstract: This article is divided into three parts, mainly from the perspective of Oracle case library, respectively introduce the background of Oracle case library, Implementation ideas and methods, and finally give a conclusion.
1. Background
In
It is much easier to write a long script than to use other views. It is said that it can be used from Oracle 7.x to 11g.
Sm $ ts_used & sm $ ts_free
Idle> select * from sm $ ts_used;
TABLESPACE_NAME
An error is reported when "space = user tablespace: -- View the tablespace size; SQL> SELECT TABLESPACE_NAME, SUM (BYTES)/1024/1024 MB FROM DBA_FREE_SPACE GROUP BY TABLESPACE_NAME; -- View the path where data files are stored in the tablespace: SQL>
In a CBO optimizer-based environment, the generation of SQL Execution plans depends on the authenticity and completeness of statistical information. Such as column discretization, column histogram, index availability, clustering factor on the index.
I did an experiment today to delete all the data in the primary table and associated sub-tables that meet a certain condition. In fact, this requirement is very simple, if the on delete cascade is specified when the sub-Table creates a foreign key,
Share a MySQL function written yesterday. The purpose is to obtain the week number of the month.
DELIMITER $
USE't _ girl $
Drop function if exists 'weekofmonth' $
Create definer = 'root' @ 'localhost' FUNCTION 'weekofmonth '(F_datetime DATETIME)
In Oracle databases, indexes can be divided into three types based on different indexing mechanisms.
1. B-Tree index
Application Scenario: OLTP is applicable to B-Tree indexes for fields with low key-value repetition rate. When the key-value
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