Oracle 10g express edition (xe) Go to database homepage to solve Chinese garbled Problem

Source: Internet
Author: User

Oracle 10g express edition is a free version dedicated to small users. Oracle Xe is very small and easy to install and can be used by third-party software developers to deploy small applications.
However, Oracle Xe's current beta2 default installation character set is we8mswin1252, not a Chinese character set, and cannot be directly run through
Alter database character set al32utf8;
Because al32utf8 is not the superset of the default character set.
In the past, the widely spread method of directly modifying the props $ table under sys users also leaves many potential problems for character set changes.

However, after installing Oracle XE, you can modify the character set in sqlplus (Oracle Xe's run SQL command line) by performing the following operations:

Connect system/Oracle9i as sysdba

Select userenv ('language') from dual; -- View Character Set

Shutdown immediate

Startup Mount

Alter system enable restricted session;

Alter system set job_queue_processes = 0;

Alter system set aq_tm_processes = 0;

Alter database open;

Alter database character set internal_use al32utf8;

Shutdown immediate

Startup

This completes the modification of the character set.


Grant all privileges to system with admin option; grant the system permission to System

(2) solution for abnormal login and invalid login users:

Run cmd to enter the command line


Sqlplus/nolog


Conn system/Oracle9i as sysdba


Alter user system identified by "system ";


In this way, you can use system/system to log on to the database homepage normally.

Related Article

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.