MySQL binary log deletion and Restoration

Vi/etc/my. cnf[Mysqld]Datadir =/var/lib/mysqlSocket =/var/lib/mysql. sock# Default to using old password format for compatibility with mysql 3.x# Clients (those using the mysqlclient10 compatibility package ).# Old_passwords = 1Table_cache =

Troubleshooting of socket connection errors in MySQL in Linux

A problem solved by PHP: (The problem that cannot be found by the socket file) For this problem, baidu has a big copy! You have to worry about some problems ~~ As for the answers, they are of course the way to solve the problem. You can refer to

Analyze troubleshooting of faults encountered during Oracle storage creation based on the package name

Oh, when you create a stored procedure, you can directly create it in the form of "create or replace procedure stored procedure name" without any problems, in the past two days, I tried the inventory package in the project. During the storage

Some operations and skills after installing Oracle in Linux

1ERROR:A ORA-01034: Oracle not availableORA-27123: unable to attach to shared memory segmentLinux Error: 13: Permission denied Input as root on the terminal: Cd $ ORACLE_HOME/bin Ll oracle (in fact, ll is not a command, but it is simply a shorthand

How Does Oracle decide to switch logs to the remaining log group?

We know that Oracle will switch logs when the current online logs are full or some conditions are met, or when logs are manually switched, even if the current online log group is from this log group to another log group, the log loop mechanism is

Introduction to the layer method for creating Oracle Spatial using SQL statements

If you need to directly operate the database and write SQL scripts to create a spatial database, you must note that you need to write some necessary metadata information into the corresponding table after creating the database, then insert row data

Problems with changing the root password of MySQL in Linux

After the LAMP environment is set up in Linux, I want to link some of my websites to Linux. To ensure security, I need to set the root password in mysql (the default root password is blank) previously, the mysqladmin-u root-p password bixinnan

Sun Solaris problem summary

1) Q: the following error is reported when you telnet to a SUN machine: No utmpx entry. You must exec "login" from the lowest level "shell ". After I have done the following: Cd/var/adm Mv utmpx utmpxbak Touch utmpx Telnet returns to normal. When

How to regularly call stored procedures in Oracle

Create test tableSQL> create table a (a date ); The table has been created. Create a custom ProcessSQL> create or replace procedure test2 begin3 insert into a values (sysdate );4 end;5/ The process has been created. Create a JOBSQL> variable job1

Common script for Oracle performance monitoring

1. Detect database events and waits SELECT event, total_waits, total_timeouts, time_waited, average_wait FROM v $ system_event 2. query session events and wait time Select sid, event, total_waits, average_wait From v $ session_event where sid = 10; 3

A function that uses Oracle Exception Handling

The main body of Oracle functions is as follows: Create or replace function fn_get_agmt_bal (p_agmt_no varchar2)RETURN NUMBER ISV_bal NUMBER: = 0;-- If dbms_output takes effect during SQL/PLUS execution, run [SET SERVEROUTPUT ON] first

Compile and install MySQL 5.5.8 in Linux

Preparations: Create user and user group Groupadd mysql Useradd-g mysql 1: Download: Bison-2.4.2.tar.bz2 Cmake-2.8.3.tar.gz Make-3.82.tar.gz Bzr-2.3b5.tar.gz Mysql-5.5.8.tar.gz 2: decompress and install the first three packages Tar zxvf

Oracle user management and permission settings

Oracle user management and permission settings Create a user:Create user user_nameIdentified by password[Default tablespace tablespace_name][Temporary tablespace tablespace_name][QUOTA... ON tablespace_name] -- sets the disk space QUOTA.[Password

The client uses SCNAIP to connect to 11g rac Database Error ORA-12545 solved

Client configuration and error: [Oracle @ bys3 admin] $ cat tnsnames. oraBysrac =(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.228) (PORT = 1521) -- the ip address here is the scanip address of RAC.(CONNECT_DATA =(SERVER =

Slave uard slave database cannot OPEN report ORA-10458: ORA-01152: ORA-01110

SQL> alter database open read only;Alter database open read only*ERROR at line 1:ORA-10458: standby database requires recoveryORA-01152: file 1 was not restored from a sufficiently old backupORA-01110: data file 1: '/Oracle/oradata/BSTYLE/system.309.

View RMAN progress

When the amount of data to be backed up or restored by RMAN is large, RMAN may have no feedback for a long time, which may lead to the mistaken failure of RMAN.Use the following SQL statement to view the running Progress of RMAN:Select sid, SERIAL #,

Detailed configuration method for connecting PL/SQL Developer to Oracle Database

In recent times, many netizens raised questions about Listener Configuration, and the Client cannot connect to the Server ). This article briefly introduces the Listener Configuration, provides detailed configuration methods for PL/SQL Developer to

CRS cannot be started after the server name is changed

Environment: DB: Oracle 11.2.0.2 Operating System: OEL Linux (OEL) 5.6   Symptom: Change hostnamenjdyw-> route 07   After the server is restarted, the crs service cannot be started. [Oracle @ nvi07 diag] $ crs_stat-t CRS-0184: unable to communicate

MySQL master-slave replication configuration details

I. Basic principles of mysql master-slave replication:This experiment demonstrates the asynchronous replication of mysql. What is asynchronous replication? That is, when a statement starts, the master server does not wait for the execution of the

MySQL database maintenance comparison

Maintain the MySQL database 1. database user authorizationGrant permission list on database name. Table name to user name @ Source Address [identified by 'Password'];Permission list: Used to list various database operations authorized for use,

Total Pages: 1013 1 .... 598 599 600 601 602 .... 1013 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.