ORA-01017: invalid username/password; logon denied ORA-02063: preceding line from TEST
今天測試oracle stream 建立database link 出現如下錯誤:
[@more@]SQL> create database link test.com.cn connect to scott identified by oracle using 'test';
Database link created.
SQL> select * from emp@test.com.cn;
select * from emp@test.com.cn
*
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from TEST
Database link created.
SQL> select * from emp@test.com.cn;
select * from emp@test.com.cn
*
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from TEST
在網上baidu之後發現密碼需要加上雙引號。奇怪,為什麼要加上呢????
SQL> drop database link test.com.cn;
Database link dropped.
Database link dropped.
SQL> create database link test.com.cn connect to scott identified by "oracle" using 'test';
Database link created.
Database link created.
SQL> select * from emp@test.com.cn
2 ;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
---------- ---------- --------- ---------- --------- ---------- ---------- ----------
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
2 ;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
---------- ---------- --------- ---------- --------- ---------- ---------- ----------
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-1060052/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-01017:invalid username/password; logon deniedGo
- AD Administration error:ORA-01017: invalid username/password; logon deniedErrorGo
- sqlplus / as sysdba報錯ORA-01017: invalid username/password; logon deniedSQLGo
- 遠端登入sys使用者報錯:ORA-01017: invalid username/password; logon deniedGo
- SYS使用者遠端登入報錯:ORA-01017: invalid username/password; logon deniedGo
- RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password;ErrorUXDatabase
- 【YashanDB資料庫】YAS-02143 invalid username/password, login denied資料庫
- 【DG】搭建DG時報錯:ORA-01017、ORA-17627、ORA-17629 invalid username/password
- The password supplied with the username Domain\UserName was not correct. Verify that it was entered ...AI
- ConfigureGC.pl Reports - Invalid Username/Password. (文件 ID 602750.1)GC
- WCF Security:authentication based on Username/Password - Part I
- EBS在測試時報 APP-FND-01516: Invalid application username,password,or database.APPDatabase
- Access denied for user 'root'@'localhost' (using password: NO)localhost
- python urllib socks5 auth username password 設定Python
- WCF Services Sample: Authenticate Silverlight Client based on UserName and Passwordclient
- #1045 - Access denied for user 'root'@'localhost' (using password: NO)localhost
- Oracle建立dblink報錯:ORA-01017、ORA-02063解決Oracle
- mysql 1045, "Access denied for user 'root'@'localhost' (using password: NO)"MySqllocalhost
- nagios監控windows 報NSClient - ERROR: Invalid passwordiOSWindowsclientError
- MYSQL解決error: 'Access denied for user 'root'@'localhost' (using password:MySqlErrorlocalhost
- ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)Errorlocalhost
- OLAP 函式 (rows 2 preceding / unbounded preceding)函式
- ORA-01045: user HR lacks CREATE SESSION privilege; logon deniedSessionGo
- 啟動報錯:Access denied for user 'root'@'localhost' (using password:YES)localhost
- java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password: YES)JavaSQLExceptionlocalhost
- 【MySQL】---1045-Access denied for user 'root'@'localhost'(using password :YES)MySqllocalhost
- [轉]OLAP 函式 (rows 2 preceding / unbounded preceding)函式
- SourceTreet提交時顯示remote: Incorrect username or password ( access token )(4種解決辦法)REM
- PermissionError: [Errno 13] Permission denied: 'C:\\Users\\hao\\Desktop\\test.xlsx'Error
- OBIEE 11g users still able to login even with invalid password
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:YES)Errorlocalhost
- invalid conversion from ‘LRUCache*‘ to ‘int‘ [-fpermissive] /new的使用
- 報錯”ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)”Errorlocalhost
- ERROR 1045 (28000): Access denied for user 'root'@'127.0.0.1' (using password: YES)Error127.0.0.1
- vue專案中連線MySQL時,報錯ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password:YES)VueMySqlErrorlocalhost
- How to Restore ASM Password File if Lost ( ORA-01017 ORA-15077 )_1644005.1RESTASM
- git@github.com: Permission denied (publickey). fatal: Could not read from remoteGithubREM
- Oracle開發專題之:OLAP 函式 (rows 2 preceding / unbounded preceding)Oracle函式