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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- sqlplus / as sysdba報錯ORA-01017: invalid username/password; logon deniedSQLGo
- 【YashanDB資料庫】YAS-02143 invalid username/password, login denied資料庫
- Oracle建立dblink報錯:ORA-01017、ORA-02063解決Oracle
- python urllib socks5 auth username password 設定Python
- mysql 1045, "Access denied for user 'root'@'localhost' (using password: NO)"MySqllocalhost
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:YES)Errorlocalhost
- 消除Warning: Using a password on the command line interface can be insecure的提示
- invalid conversion from ‘LRUCache*‘ to ‘int‘ [-fpermissive] /new的使用
- 啟動報錯:Access denied for user 'root'@'localhost' (using password:YES)localhost
- 報錯”ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)”Errorlocalhost
- java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password: YES)JavaSQLExceptionlocalhost
- 執行py檔案 File "<stdin>", line 1 SyntaxError: invalid syntaxError
- PermissionError: [Errno 13] Permission denied: 'C:\\Users\\hao\\Desktop\\test.xlsx'Error
- Oracle開發專題之:OLAP 函式 (rows 2 preceding / unbounded preceding)Oracle函式
- SourceTreet提交時顯示remote: Incorrect username or password ( access token )(4種解決辦法)REM
- Linux錯誤 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)LinuxErrorlocalhost
- git@github.com: Permission denied (publickey). fatal: Could not read from remoteGithubREM
- test.sh: line 3: $‘\r‘: command not found 或者 vim去掉^M字元字元
- vue專案中連線MySQL時,報錯ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password:YES)VueMySqlErrorlocalhost
- Caused by: java.sql.SQLException: Access denied for user 'dell-pc'@'xxxxx' (using password: YES)JavaSQLException
- 解決Mysql:ERROR 1045 (28000):Access denied for user ‘root‘@‘localhost‘ (using password: NO)的方法MySqlErrorlocalhost
- SpringBoot中yml配置java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password: NOSpring BootJavaSQLExceptionlocalhost
- MySQL 8.0.13 密碼問題 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)MySql密碼Errorlocalhost
- Navicat遠端連線MySQL 提示1045 - Access denied for user 'root'@'223.74.158.192'(using password:YES)MySql
- git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.GithubREM
- MySQL系列:Docker安裝 MySQL提示錯誤:Access denied for user'root'@'localhost' (using password:yes)MySqlDockerlocalhost
- 【問題解決】remote: parse error: Invalid numeric literal at line 1, column 20,解決思路REMError
- logon觸發器for dbaGo觸發器
- URL username 屬性
- mac os x 安裝mysql遇到 Access denied for user ‘root‘@‘localhost‘ (using password: YES)的解決方法MacMySqllocalhost
- 【Lintcode】1789. Distinguish UsernameNGUI
- SQLSTATE[HY000] [1045] Access denied for user ‘root‘@‘localhost‘ (using password: YES)”錯誤的隱藏解決辦法SQLlocalhost
- ubuntu ssh: connect to host ** port 22: Connection refused ssh登入遠端伺服器時提示Permission denied (publickey,password)Ubuntu伺服器
- Django中的函式make_password、set_password和check_passwordDjango函式
- eslint-disable-next-line to ignore the next lineEsLint
- secondary logon服務怎麼開啟?Win10系統secondary logon服務的開啟步驟GoWin10
- no-wwwtl622com17008768000-password never prompt for password
- [20211014]19C Failed Logon Delay.txtAIGo
- test