在SQL +中,我首先连接到我给出的服务器;
CONNECT / 连接。
但是,在尝试创建数据库时,我得到以下内容:
CREATE DATABASE Project3; CREATE DATABASE失败 数据库已经安装
我也试过 - STARTUP NOMOUNT但只说明我没有足够的权限。
我在这里做错了吗?
答案 0 :(得分:0)
如果这是您正在谈论的Oracle(Oracles默认CLI称为SQL * Plus),这意味着已在服务器上配置了数据库。 Oracle每个服务器实例仅使用一个数据库。在这些数据库中是模式,这是存储数据库对象的地方。
请参阅以下引文:http://docs.oracle.com/cd/B28359_01/server.111/b28301/install.htm#ADMQS002
After you create a database, either during installation or as a standalone
operation, you do not need to create another. Each Oracle instance works
with a single database only. Rather than requiring that you to create
multiple databases to accommodate different applications, Oracle Database
uses a single database, and accommodates multiple applications by enabling
you to separate data into different schemas within the single database.