Be clearer about the syntax used for connecting to the database as sys.

This commit is contained in:
Anthony Tuininga 2018-11-05 09:53:39 -07:00
parent 7f1bfd1eb3
commit 1be0461174
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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