Be clearer about the syntax used for connecting to the database as sys.
This commit is contained in:
parent
7f1bfd1eb3
commit
1be0461174
|
@ -5,7 +5,7 @@ This directory contains samples for cx_Oracle.
|
||||||
[sql/SetupSamples.sql][1]. The
|
[sql/SetupSamples.sql][1]. The
|
||||||
syntax is:
|
syntax is:
|
||||||
|
|
||||||
sqlplus / as sysdba @sql/SetupSamples.sql
|
sqlplus sys/syspassword@hostname/servicename as sysdba @sql/SetupSamples.sql
|
||||||
|
|
||||||
The script will create users `pythondemo` and `pythoneditions` and
|
The script will create users `pythondemo` and `pythoneditions` and
|
||||||
will create an edition called `python_e1`.
|
will create an edition called `python_e1`.
|
||||||
|
@ -23,7 +23,7 @@ This directory contains samples for cx_Oracle.
|
||||||
dropped by running the SQL script [sql/DropSamples.sql][3]. The
|
dropped by running the SQL script [sql/DropSamples.sql][3]. The
|
||||||
syntax is
|
syntax is
|
||||||
|
|
||||||
sqlplus / as sysdba @sql/DropSamples.sql
|
sqlplus sys/syspassword@hostname/servicename as sysdba @sql/DropSamples.sql
|
||||||
|
|
||||||
[1]: https://github.com/oracle/python-cx_Oracle/blob/master/samples/sql/SetupSamples.sql
|
[1]: https://github.com/oracle/python-cx_Oracle/blob/master/samples/sql/SetupSamples.sql
|
||||||
[2]: https://github.com/oracle/python-cx_Oracle/blob/master/samples/sql/SampleEnv.sql
|
[2]: https://github.com/oracle/python-cx_Oracle/blob/master/samples/sql/SampleEnv.sql
|
||||||
|
|
|
@ -3,7 +3,7 @@ This directory contains the test suite for cx_Oracle.
|
||||||
The schemas and SQL objects that are referenced in the test suite can be
|
The schemas and SQL objects that are referenced in the test suite can be
|
||||||
created by running the SQL script sql/SetupTest.sql. The syntax is:
|
created by running the SQL script sql/SetupTest.sql. The syntax is:
|
||||||
|
|
||||||
sqlplus / as sysdba @sql/SetupTest.sql
|
sqlplus sys/syspassword@hostname/servicename as sysdba @sql/SetupTest.sql
|
||||||
|
|
||||||
The script will create users cx_Oracle and cx_Oracle_proxy. If you wish to
|
The script will create users cx_Oracle and cx_Oracle_proxy. If you wish to
|
||||||
change the names of the users or the name of the edition you can edit the file
|
change the names of the users or the name of the edition you can edit the file
|
||||||
|
@ -23,5 +23,5 @@ command in this directory:
|
||||||
After running the test suite, the schemas and SQL objects can be dropped by
|
After running the test suite, the schemas and SQL objects can be dropped by
|
||||||
running the SQL script sql/DropTest.sql. The syntax is
|
running the SQL script sql/DropTest.sql. The syntax is
|
||||||
|
|
||||||
sqlplus / as sysdba @sql/DropTest.sql
|
sqlplus sys/syspassword@hostname/servicename as sysdba @sql/DropTest.sql
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue