<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>《设置oracle 含特殊字符密码》的评论</title>
	<atom:link href="https://www.xifenfei.com/2011/10/%e8%ae%be%e7%bd%aeoracle-%e5%90%ab%e7%89%b9%e6%ae%8a%e5%ad%97%e7%ac%a6%e5%af%86%e7%a0%81.html/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com/2011/10/%e8%ae%be%e7%bd%aeoracle-%e5%90%ab%e7%89%b9%e6%ae%8a%e5%ad%97%e7%ac%a6%e5%af%86%e7%a0%81.html</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 11 Dec 2025 02:46:14 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2011/10/%e8%ae%be%e7%bd%aeoracle-%e5%90%ab%e7%89%b9%e6%ae%8a%e5%ad%97%e7%ac%a6%e5%af%86%e7%a0%81.html/comment-page-1#comment-4229</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Fri, 20 Nov 2015 16:39:32 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=1658#comment-4229</guid>
		<description><![CDATA[在shell中无法使用含$的密码使用sqlplus直接登录,而使用sqlplus /nolog connect p/w方式可以登录
原因是由于$在shell中是定义变量的，因为在sqlplus中直接登录含$的，就无法正常使用，需要转义，或者使用间接登录方式
[sql]
[oracle@web103 ~]$ ss
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:34:01 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt; create user test1 identified by &quot;a$b&quot;;
User created.
SQL&gt; grant dba to test1;
Grant succeeded.
SQL&gt; exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
 
[oracle@web103 ~]$ sqlplus test1/a$b
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:41:27 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@web103 ~]$ sqlplus test1/&quot;a$b&quot;
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:41:32 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@web103 ~]$
 
[oracle@web103 ~]$ sqlplus test1/&quot;a\$b&quot;
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:36:21 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt; show user;
USER is &quot;TEST1&quot;

[oracle@web103 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:45:50 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt; conn test1/a$b
Connected.
SQL&gt; show user;
USER is &quot;TEST1&quot;
SQL&gt;
[/sql]
具体可以参考&lt;a href=&quot;http://www.xifenfei.com/forum/accident/sqlplus-%E7%9B%B4%E6%8E%A5%E7%99%BB%E5%BD%95%E5%90%AB%E6%9C%89%E7%9A%84%E5%AF%86%E7%A0%81%E7%9A%84oracle%E7%94%A8%E6%88%B7#p1674&quot; title=&quot;sqlplus 直接登录含有$的密码的oracle用户&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;sqlplus 直接登录含有$的密码的oracle用户&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>在shell中无法使用含$的密码使用sqlplus直接登录,而使用sqlplus /nolog connect p/w方式可以登录<br />
原因是由于$在shell中是定义变量的，因为在sqlplus中直接登录含$的，就无法正常使用，需要转义，或者使用间接登录方式</p>
<pre class="brush: sql; title: ; notranslate">
[oracle@web103 ~]$ ss
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:34:01 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt; create user test1 identified by &quot;a$b&quot;;
User created.
SQL&gt; grant dba to test1;
Grant succeeded.
SQL&gt; exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
 
[oracle@web103 ~]$ sqlplus test1/a$b
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:41:27 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@web103 ~]$ sqlplus test1/&quot;a$b&quot;
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:41:32 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@web103 ~]$
 
[oracle@web103 ~]$ sqlplus test1/&quot;a\$b&quot;
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:36:21 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt; show user;
USER is &quot;TEST1&quot;

[oracle@web103 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Fri Nov 6 08:45:50 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt; conn test1/a$b
Connected.
SQL&gt; show user;
USER is &quot;TEST1&quot;
SQL&gt;
</pre>
<p>具体可以参考<a href="http://www.xifenfei.com/forum/accident/sqlplus-%E7%9B%B4%E6%8E%A5%E7%99%BB%E5%BD%95%E5%90%AB%E6%9C%89%E7%9A%84%E5%AF%86%E7%A0%81%E7%9A%84oracle%E7%94%A8%E6%88%B7#p1674" title="sqlplus 直接登录含有$的密码的oracle用户" target="_blank" rel="nofollow">sqlplus 直接登录含有$的密码的oracle用户</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Kongo</title>
		<link>https://www.xifenfei.com/2011/10/%e8%ae%be%e7%bd%aeoracle-%e5%90%ab%e7%89%b9%e6%ae%8a%e5%ad%97%e7%ac%a6%e5%af%86%e7%a0%81.html/comment-page-1#comment-967</link>
		<dc:creator><![CDATA[Kongo]]></dc:creator>
		<pubDate>Wed, 15 Aug 2012 09:36:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=1658#comment-967</guid>
		<description><![CDATA[如果使用了profile的verify_function，就不可以这样改了]]></description>
		<content:encoded><![CDATA[<p>如果使用了profile的verify_function，就不可以这样改了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：t101 treadmill</title>
		<link>https://www.xifenfei.com/2011/10/%e8%ae%be%e7%bd%aeoracle-%e5%90%ab%e7%89%b9%e6%ae%8a%e5%ad%97%e7%ac%a6%e5%af%86%e7%a0%81.html/comment-page-1#comment-228</link>
		<dc:creator><![CDATA[t101 treadmill]]></dc:creator>
		<pubDate>Thu, 03 Nov 2011 17:36:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=1658#comment-228</guid>
		<description><![CDATA[楼主很有才华！]]></description>
		<content:encoded><![CDATA[<p>楼主很有才华！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜 分飞</title>
		<link>https://www.xifenfei.com/2011/10/%e8%ae%be%e7%bd%aeoracle-%e5%90%ab%e7%89%b9%e6%ae%8a%e5%ad%97%e7%ac%a6%e5%af%86%e7%a0%81.html/comment-page-1#comment-217</link>
		<dc:creator><![CDATA[惜 分飞]]></dc:creator>
		<pubDate>Thu, 20 Oct 2011 09:25:07 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=1658#comment-217</guid>
		<description><![CDATA[Oracle 11g 注意密码大小写问题]]></description>
		<content:encoded><![CDATA[<p>Oracle 11g 注意密码大小写问题</p>
]]></content:encoded>
	</item>
</channel>
</rss>
