使用Oracle SQLDeveloper连接数据库并创建用户
安装Oracle 11g会自带一个叫做SQL Developer的工具,它的功能非常强大,以前一直不知道,还用着plsqldev和navicat来连接数据库,
1.使用sys账户创建数据库连接
安装Oracle 11g会自带一个叫做SQL Developer的工具,它的功能非常强大,以前一直不知道,还用着plsqldev和navicat来连接数据库,其实这个工具拥有前面两个软件的所有功能(如果说的太绝对请指正)。首先我们打开SQL Developer,如下图所示:
SQL Developer不能用于创建Oracle数据库,只能用来连接已创建的数据库,我们一般都是使用Database Configuration Assistant(简称DBCA)来创建数据库,如下图所示:
打开DBCA以后按照向导来创建数据库,非常简单,这里不再赘述。
在SQL Developer中我们新建一个连接,点击左上角的“绿色加号”如下图所示:
创建数据库连接,如下图所示:
填写完配置以后可以点击“Test”来测试数据库连接是否正确,如上图所示,,左下角有“Status:Success”则表明数据库连接正确。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)
