Oracle user Creation
Create user xxxxx identified by xxxxx
PROFILE DEFAULT
DEFAULT TABLESPACE USERS
Temporary tablespace TEMPTS01
Account unlock;
Note that you must first check whether there are two tablespaces in your database: USERS and
Check whether the system is started with pfile or spfile.Select isspecified, count (*) from v $ spparameter group by isspecified;If true exists in isspecified, the specified configuration is performed with spfile.If all values are false, pfile is
Operating system environment:
RHEL4.6 and MySQL 6
Symptom:
Tomcat is installed on this computer as a web server, and a project is deployed to connect to the mysql database through jdbc. However, Chinese input and output are garbled.
Solution:
1.
Operate on the Oracle database machine:
◆ 1. Create two views in Oracle Based on KB 193893. Use the SYS account.
The default script path is oracleora92rdbmsadminxaview.
◆ 2. After creating two views, you need to add Public permissions to these
Due to Operation errors, I uninstalled Mysql under Ubuntu and had to reinstall it. After a long time, I did not install it.# Sudo apt-get remove mysql-server# Sudo apt-get install mysql-serverThen run/usr/bin/mysqld_safe & the following error is
1. Create password file commandOrapwd file = <> password = <> entries = maximum numberThe file naming rules are in orapw in unix/linux and pwd. ora in windows.For more information, see the description below (this is a summary of pub's netizens)1.
Operating Environment:
Oralce 10G, Red Hat Linux Enterprise 5 (vmvm 6.0)
Map the Oracle10g ISO file to the VM optical drive and run/media/cdrom/runInstaller.
Error message:
Bash:./runInstaller:/bin/sh: bad interpreter: insufficient Permissions
Query methods for top 10 records in each database
Oracle Database:
Select * from (select * from tab order by id desc) where rownum
MySQL database:
Select * from tab order by id desc limit 0, 10;
(Here, keyword limit startid, rownum is like
A basic example
Linux MySQL changes the directory location of the MySQL database
The default data file storage directory of MySQL is/var/lib/mysql. To move the directory to/home/data, perform the following steps:
1. Create a data directory under the
Oracle Business Intelligence kit is one of the Oracle Integrated middleware product series. It is a comprehensive set of Enterprise Business Intelligence (BI) products that can meet a complete set of business intelligence requirements, includes
The password is incorrect when I log on to MySQL Query Browser today. It is strange that I always use a blank password or a specific password.
Failed to try multiple times! No matter what the problem is, just forget the password.
Create pwdhf.txt
PhpMyAdmin is a PHP-based MySQL database management tool based on the Web-Base architecture on the website host.You can manage the entire MySQL Server (requires a Super User) or a single database. To implement the latter, You need to properly set
Find the spring transaction rollback error for one day and finally find the MySQL MyISAM engine.
It does not support transaction processing ~~~ Let's take a look at mysql.
Mysql storage engines include MyISAM, InnoDB, BDB, MEMORY, MERGE, EXAMPLE,
Mysql master-slave replication is fast, easy to use, and reliable.
However, when you check that the Master/Slave Data is inconsistent, it is difficult to determine the problem (software problems? Hardware problems? Network Transmission Problems ?)
A
(I) principle:
As long as the index field defined by the user contains the field in the primary key, this field will not be automatically added to the index by InnoDB.
However, if the index field does not fully contain the primary key field, InnoDB
MySQL version: 5.0.82
In the test environment, the developer told me that the lock wait timeout prompt is not displayed when the database cannot insert;
The first impression is that it is locked by a specific statement. Execute show full
In normal work, count (*) is frequently used and determines whether indexes are used. This has a significant impact on performance! But not all count (*) can be indexed! Note:
Create table t3
(
Sid number not null primary key,
Sno number,
Sname
In order to configure database recoverability, I tried to modify the control file, alter system set control_files = '/u01/app/Oracle/oradata/$ ORACLE_SID/controlfile/o1_mf_7p5b2xty _. ctl ','/u01/app/oracle/flash_recovery_area/$
(I) authentication and authorization
Certification: who am I?
Authorization: what I can do?
Authentication is actually a process of verifying creden, And the creden required for entering MySQL include host, username, and password.
There are two
Today, I accidentally found that Oracle could use SQL to parse XML files, so I checked some information with curiosity. List the examples for interested colleagues.
Select * from xmltable ('$ B/Person/Student' passing --- specify the root node
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