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 =
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
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
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
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
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
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
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
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
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
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
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
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
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.
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 #,
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
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
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
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,
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