<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>달콤 쌉싸래한 인생 &#187; Database</title>
	<atom:link href="http://jongsunkim.pe.kr/archives/category/database/feed" rel="self" type="application/rss+xml" />
	<link>http://jongsunkim.pe.kr</link>
	<description>Be fully awake if you want to dream</description>
	<lastBuildDate>Sun, 22 Apr 2012 12:02:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>mysql 비번 재설정</title>
		<link>http://jongsunkim.pe.kr/archives/1629</link>
		<comments>http://jongsunkim.pe.kr/archives/1629#comments</comments>
		<pubDate>Fri, 15 Jul 2011 01:26:00 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=1629</guid>
		<description><![CDATA[1. mysql 데몬을 안전모드로 실행 #/usr/bin/mysqld_safe --skip-grant &#38; 2. mysql 명령 입력 #mysql mysql&#62; use mysql; 3. 비밀번호 재설정 mysql&#62; update user set password=password('변경할 비번') where user='root'; 4. flush privileges 를 이용해서 비번 변경 적용 mysql&#62; flush privileges;]]></description>
			<content:encoded><![CDATA[<pre>1. mysql 데몬을 안전모드로 실행
#/usr/bin/mysqld_safe --skip-grant &amp;

2. mysql 명령 입력
#mysql

mysql&gt; use mysql;

3. 비밀번호 재설정

mysql&gt; update user set password=password('변경할 비번') where user='root';

4. flush privileges 를 이용해서 비번 변경 적용
mysql&gt; flush privileges;</pre>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/1629/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql db 백업과 복구</title>
		<link>http://jongsunkim.pe.kr/archives/1582</link>
		<comments>http://jongsunkim.pe.kr/archives/1582#comments</comments>
		<pubDate>Mon, 28 Mar 2011 00:20:03 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=1582</guid>
		<description><![CDATA[- 특정 데이타베이스 하나만을 백업 백업형식 : myslqdump -u DB계정명 -p 백업대상데이터베이스명 &#62; 저장할파일명 복구형식 : mysql -u DB계정명 -p 복구할테이터베이스명 &#60; 저장할파일명]]></description>
			<content:encoded><![CDATA[<p>- 특정 데이타베이스 하나만을 백업</p>
<p>백업형식 : myslqdump -u DB계정명 -p 백업대상데이터베이스명 &gt; 저장할파일명</p>
<p>복구형식 : mysql -u DB계정명 -p 복구할테이터베이스명 &lt; 저장할파일명</p>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/1582/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Oracle 11gR2 on Solaris 10</title>
		<link>http://jongsunkim.pe.kr/archives/1450</link>
		<comments>http://jongsunkim.pe.kr/archives/1450#comments</comments>
		<pubDate>Sat, 08 Jan 2011 05:28:52 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=1450</guid>
		<description><![CDATA[참고 사이트 - http://ivan.kartik.sk/oracle/install_ora11gR2_solaris.html &#8220;최대 사용자 프로세스&#8221; 오류 해결 - http://www.dbatoolz.com/t/11gr2-install-fails-hard-limit-maximum-user-processes.html /etc/system 파일에 아래 내용 추가 set shmsys:shminfo_shmmax=12025908428 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 set semsys:seminfo_semmni=100 set semsys:seminfo_semmns=1024 set shmsys:shminfo_shmmin=1 set max_nprocs=30000 set maxuprc=16384 그리고 리부팅! 설치 과정 1. oracle 유저 추가 후 로그인. runInstaller 를 실행시킨다. 2. 3. 데이터베이스 생성 및 구성 선택 4. 서버 클래스 선택 5. [...]]]></description>
			<content:encoded><![CDATA[<p>참고 사이트 - <a href="http://ivan.kartik.sk/oracle/install_ora11gR2_solaris.html">http://ivan.kartik.sk/oracle/install_ora11gR2_solaris.html</a></p>
<p>&#8220;최대 사용자 프로세스&#8221; 오류 해결 - <a href="http://www.dbatoolz.com/t/11gr2-install-fails-hard-limit-maximum-user-processes.html">http://www.dbatoolz.com/t/11gr2-install-fails-hard-limit-maximum-user-processes.html</a></p>
<p>/etc/system 파일에 아래 내용 추가<br />
set shmsys:shminfo_shmmax=12025908428<br />
set shmsys:shminfo_shmmni=100<br />
set shmsys:shminfo_shmseg=10<br />
set semsys:seminfo_semmni=100<br />
set semsys:seminfo_semmns=1024<br />
set shmsys:shminfo_shmmin=1<br />
set max_nprocs=30000<br />
set maxuprc=16384</p>
<p>그리고 리부팅!</p>
<p>설치 과정</p>
<p>1. oracle 유저 추가 후 로그인.<br />
runInstaller 를 실행시킨다.<br />
<a rel="attachment wp-att-1460" href="http://jongsunkim.pe.kr/archives/1450/1-14"><img class="alignnone size-large wp-image-1460" title="1" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/1-600x562.png" alt="" width="540" height="506" /></a></p>
<p>2.</p>
<p><a rel="attachment wp-att-1467" href="http://jongsunkim.pe.kr/archives/1450/4-5"><img class="alignnone size-large wp-image-1467" title="4" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/4-600x562.png" alt="" width="540" height="506" /></a></p>
<p>3. 데이터베이스 생성 및 구성 선택</p>
<p><a rel="attachment wp-att-1468" href="http://jongsunkim.pe.kr/archives/1450/5-4"><img class="alignnone size-large wp-image-1468" title="5" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/5-600x562.png" alt="" width="540" height="506" /></a></p>
<p>4. 서버 클래스 선택</p>
<p><a rel="attachment wp-att-1469" href="http://jongsunkim.pe.kr/archives/1450/6-4"><img class="alignnone size-large wp-image-1469" title="6" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/6-600x562.png" alt="" width="540" height="506" /></a></p>
<p>5. 단일 인스턴스 선택</p>
<p><a rel="attachment wp-att-1470" href="http://jongsunkim.pe.kr/archives/1450/7-2"><img class="alignnone size-large wp-image-1470" title="7" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/7-600x562.png" alt="" width="540" height="506" /></a></p>
<p>6.</p>
<p><a rel="attachment wp-att-1471" href="http://jongsunkim.pe.kr/archives/1450/8-2"><img class="alignnone size-large wp-image-1471" title="8" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/8-600x562.png" alt="" width="540" height="506" /></a></p>
<p>7.  영어, 한국어</p>
<p><a rel="attachment wp-att-1474" href="http://jongsunkim.pe.kr/archives/1450/9-2"><img class="alignnone size-large wp-image-1474" title="9" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/9-600x562.png" alt="" width="540" height="506" /></a></p>
<p>8. 스탠다드 에디션으로.</p>
<p><a rel="attachment wp-att-1475" href="http://jongsunkim.pe.kr/archives/1450/attachment/10"><img class="alignnone size-large wp-image-1475" title="10" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/10-600x562.png" alt="" width="540" height="506" /></a></p>
<p>9. 설치 위치 설정</p>
<p><a rel="attachment wp-att-1476" href="http://jongsunkim.pe.kr/archives/1450/attachment/11"><img class="alignnone size-large wp-image-1476" title="11" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/11-600x562.png" alt="" width="540" height="506" /></a></p>
<p>10. 인벤토리 설정</p>
<p><a rel="attachment wp-att-1477" href="http://jongsunkim.pe.kr/archives/1450/attachment/12"><img class="alignnone size-large wp-image-1477" title="12" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/12-600x562.png" alt="" width="540" height="506" /></a></p>
<p>11. 구성 유형</p>
<p>일반용으로</p>
<p><a rel="attachment wp-att-1480" href="http://jongsunkim.pe.kr/archives/1450/attachment/13"><img class="alignnone size-large wp-image-1480" title="13" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/13-600x562.png" alt="" width="540" height="506" /></a></p>
<p>12. 데이터베이스 식별자</p>
<p><a rel="attachment wp-att-1481" href="http://jongsunkim.pe.kr/archives/1450/attachment/14"><img class="alignnone size-large wp-image-1481" title="14" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/14-600x562.png" alt="" width="540" height="506" /></a></p>
<p>13. 메모리 할당</p>
<p><a rel="attachment wp-att-1482" href="http://jongsunkim.pe.kr/archives/1450/attachment/15"><img class="alignnone size-large wp-image-1482" title="15" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/15-600x562.png" alt="" width="540" height="506" /></a></p>
<p>14.</p>
<p><a rel="attachment wp-att-1485" href="http://jongsunkim.pe.kr/archives/1450/attachment/16"><img class="alignnone size-large wp-image-1485" title="16" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/16-600x562.png" alt="" width="540" height="506" /></a></p>
<p>15.</p>
<p><a rel="attachment wp-att-1486" href="http://jongsunkim.pe.kr/archives/1450/attachment/17"><img class="alignnone size-large wp-image-1486" title="17" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/17-600x562.png" alt="" width="540" height="506" /></a></p>
<p>16.</p>
<p><a rel="attachment wp-att-1487" href="http://jongsunkim.pe.kr/archives/1450/attachment/18"><img class="alignnone size-large wp-image-1487" title="18" src="http://jongsunkim.pe.kr/wp-content/uploads/2011/01/18-600x562.png" alt="" width="540" height="506" /></a></p>
<p>계속&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/1450/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat &amp; Oracle DataSource 설정</title>
		<link>http://jongsunkim.pe.kr/archives/1107</link>
		<comments>http://jongsunkim.pe.kr/archives/1107#comments</comments>
		<pubDate>Sun, 11 Jul 2010 03:07:29 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[JDBC]]></category>
		<category><![CDATA[JSP&Servlet]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=1107</guid>
		<description><![CDATA[1. conf/server.xml파일을 열고 &#60;GlobalNamingResources&#62;엘리먼트 안에 다음 내용 추가. 2. conf/context.xml에 추가 3. 코드 안에서는]]></description>
			<content:encoded><![CDATA[<p><strong>1. conf/server.xml파일을 열고 &lt;GlobalNamingResources&gt;엘리먼트 안에 다음 내용 추가.</strong></p>
<pre class="brush: xml; title: ; notranslate">

&lt;Resource name=&quot;jdbc/myoracle&quot; auth=&quot;Container&quot;
 type=&quot;javax.sql.DataSource&quot; driverClassName=&quot;oracle.jdbc.OracleDriver&quot;
 url=&quot;jdbc:oracle:thin:@localhost:1521:데이터베이스이름&quot;
 username=&quot;유저네임&quot; password=&quot;패스워드&quot; /&gt;
</pre>
<p><strong>2. conf/context.xml에 추가</strong></p>
<pre class="brush: xml; title: ; notranslate">

&lt;ResourceLink global=&quot;jdbc/myoracle&quot; name=&quot;jdbc/myoracle&quot; type=&quot;javax.sql.DataSource&quot;/&gt;
</pre>
<p><strong>3. 코드 안에서는</strong></p>
<pre class="brush: java; title: ; notranslate">

InitialContext ic = new InitialContext();
DataSource ds = (DataSource)ic.lookup(&quot;java:comp/env/jdbc/myoracle&quot;);
Connection con = ds.getConnection();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/1107/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OracleXETNSListener 시작 오류 1067</title>
		<link>http://jongsunkim.pe.kr/archives/1098</link>
		<comments>http://jongsunkim.pe.kr/archives/1098#comments</comments>
		<pubDate>Sun, 04 Jul 2010 12:16:46 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=1098</guid>
		<description><![CDATA[Eclipse와 연동 중인 Oracle의 접속이 되지 않아 살펴보던 중.. OracleXETNSListener 서비스가 시작되지 않는다는 것을 발견하고 시작하려 했으나 오류 1067을 뿝었다. 찾아보니.. 서비스 중 &#8216;Computer Browser&#8217; 서비스가 실행 중이지 않아서 생기는 문제. 쓸때없는 서비스라고 생각하고 &#8216;사용안함&#8217;을 설정해놨었는데.. 이런 문제가 생겼다. &#8216;Computer Browser&#8217; 서비스를 실행하고 나니 OracleXETNSListener 서비스도 잘 실행됐다. Eclipse와 Oracle의 연결도 잘 됐고..]]></description>
			<content:encoded><![CDATA[<p>Eclipse와 연동 중인 Oracle의 접속이 되지 않아 살펴보던 중..</p>
<p>OracleXETNSListener 서비스가 시작되지 않는다는 것을 발견하고 시작하려 했으나</p>
<p>오류 1067을 뿝었다.</p>
<p>찾아보니..</p>
<p>서비스 중 &#8216;Computer Browser&#8217; 서비스가 실행 중이지 않아서 생기는 문제.</p>
<p>쓸때없는 서비스라고 생각하고 &#8216;사용안함&#8217;을 설정해놨었는데.. 이런 문제가 생겼다.</p>
<p>&#8216;Computer Browser&#8217; 서비스를 실행하고 나니 OracleXETNSListener 서비스도 잘 실행됐다.</p>
<p>Eclipse와 Oracle의 연결도 잘 됐고..</p>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/1098/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpmyadmin 설치 후 설정</title>
		<link>http://jongsunkim.pe.kr/archives/711</link>
		<comments>http://jongsunkim.pe.kr/archives/711#comments</comments>
		<pubDate>Fri, 05 Mar 2010 14:52:53 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=711</guid>
		<description><![CDATA[phpmyadmin 설치후 각종 오류메시지 처리를 위해. config.sample.inc.php 를 config.inc.php 로 복사 후 편집해주기.]]></description>
			<content:encoded><![CDATA[<p>phpmyadmin 설치후 각종 오류메시지 처리를 위해.</p>
<p>config.sample.inc.php 를 config.inc.php 로 복사 후 편집해주기.</p>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/711/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql 문자셋 utf8으로 변경</title>
		<link>http://jongsunkim.pe.kr/archives/707</link>
		<comments>http://jongsunkim.pe.kr/archives/707#comments</comments>
		<pubDate>Fri, 05 Mar 2010 14:28:36 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=707</guid>
		<description><![CDATA[mysql 설정파일인 /etc/my.cnf 파일에 아래 내용을 추가한다. [client] default-character-set = utf8 [mysqld] character-set-client-handshake=FALSE init_connect=&#8221;SET collation_connection = utf8_general_ci&#8221; init_connect=&#8221;SET NAMES utf8&#8243; default-character-set = utf8 character-set-server = utf8 collation-server = utf8_general_ci [mysqldump] default-character-set = utf8 [mysql] default-character-set = utf8]]></description>
			<content:encoded><![CDATA[<p>mysql 설정파일인</p>
<p>/etc/my.cnf 파일에 아래 내용을 추가한다.</p>
<p>[client]<br />
default-character-set = utf8</p>
<p>[mysqld]<br />
character-set-client-handshake=FALSE<br />
init_connect=&#8221;SET collation_connection = utf8_general_ci&#8221;<br />
init_connect=&#8221;SET NAMES utf8&#8243;<br />
default-character-set = utf8<br />
character-set-server = utf8<br />
collation-server = utf8_general_ci</p>
<p>[mysqldump]<br />
default-character-set = utf8</p>
<p>[mysql]<br />
default-character-set = utf8</p>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/707/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows에서 oracle 삭제</title>
		<link>http://jongsunkim.pe.kr/archives/406</link>
		<comments>http://jongsunkim.pe.kr/archives/406#comments</comments>
		<pubDate>Sat, 16 Jan 2010 14:51:11 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/archives/406</guid>
		<description><![CDATA[1. 서비스 중지 제어판 -&#62; 관리도구 -&#62; 서비스 Oracle 로 시작하는 서비스를 모두 중지(4~5개 정도) 2. Universal Installer 로 Oracle 삭제 시작 -&#62; 프로그램 -&#62; Oracle 안의 Universal Installer 제품 설치 해제 -&#62; 삭제할 오라클 제품을 체크 후 제거 3. 레지스트리로 남아있는 찌꺼기 제거 시작 -&#62; 실행 -&#62; regedit HKEY_LOCAL_MACHINE -&#62; SOFTWARE -&#62; ORACLE 폴더 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1. 서비스 중지</strong><br />
제어판 -&gt; 관리도구 -&gt; 서비스</p>
<p>Oracle 로 시작하는 서비스를 모두 중지(4~5개 정도)</p>
<p><strong>2. Universal Installer 로 Oracle 삭제</strong><br />
시작 -&gt; 프로그램 -&gt; Oracle 안의 Universal Installer<br />
제품 설치 해제 -&gt; 삭제할 오라클 제품을 체크 후 제거</p>
<p><strong>3. 레지스트리로 남아있는 찌꺼기 제거</strong><br />
시작 -&gt; 실행 -&gt; regedit</p>
<p>HKEY_LOCAL_MACHINE -&gt; SOFTWARE -&gt; ORACLE 폴더 삭제<br />
HKEY_LOCAL_MACHINE -&gt; SYSTEM -&gt; ControlSet001 -&gt; Services<br />
-&gt; oracle로 시작되는 폴더 삭제<br />
HKEY_LOCAL_MACHINE -&gt; SYSTEM -&gt; ControlSet002 -&gt; Services<br />
-&gt; oracle로 시작되는 폴더 삭제<br />
HKEY_LOCAL_MACHINE -&gt; SYSTEM -&gt; CurrentControlSet -&gt; Services<br />
-&gt; oracle로 시작되는 폴더 삭제<br />
HKEY_CLASSES_ROOT -&gt; Oracle과 Ora로 시작되는 폴더 삭제</p>
<p>컴퓨터 재부팅</p>
<p><strong>4. Oracle 폴더 삭제 </strong><br />
처음 설치시 설치 했던 Oracle 폴더를 삭제합니다.<br />
시작 -&gt; 프로그램에 있는 오라클 메뉴를 삭제합니다.</p>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/406/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linked Tables에서 작동하는 부가기능이 사용되지 않습니다. 이유를 알려면</title>
		<link>http://jongsunkim.pe.kr/archives/72</link>
		<comments>http://jongsunkim.pe.kr/archives/72#comments</comments>
		<pubDate>Wed, 04 Nov 2009 07:10:27 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=72</guid>
		<description><![CDATA[설치환경 os &#8211; opensuse 11.1 kernel 2.6.27 apache &#8211; 2.2.10 php &#8211; 5.2.11 mysql &#8211; 5.0.67 phpmyadmin을 설치했는데 위와 같은 에러메시지를 내뿜었다. 여기를 클릭해보면 사용불가 항목들이 나오는데..도움말을 클릭하면 각 항목에 대해 알 수 있다. 아. 맨위에 항목인 pmadb 가 OK인 이유는. 스샷을 하기 전. phpmyadmin폴더에 config.inc.php 였나.  설정 파일을 열어서 주석을 몇 개 제거했더니 달랑 한개 [...]]]></description>
			<content:encoded><![CDATA[<p>설치환경</p>
<p>os &#8211; opensuse 11.1 kernel 2.6.27</p>
<p>apache &#8211; 2.2.10</p>
<p>php &#8211; 5.2.11</p>
<p>mysql &#8211; 5.0.67</p>
<p><img src="file:///C:/Documents%20and%20Settings/Administrator/%EB%B0%94%ED%83%95%20%ED%99%94%EB%A9%B4/2.PNG" alt="" /></p>
<p><img class="alignnone size-full wp-image-74" title="2" src="http://jongsunkim.pe.kr/wp-content/uploads/2009/11/21.PNG" alt="2" width="774" height="23" /></p>
<p>phpmyadmin을 설치했는데 위와 같은 에러메시지를 내뿜었다.</p>
<p>여기를 클릭해보면</p>
<p><img class="alignnone size-full wp-image-75" title="3" src="http://jongsunkim.pe.kr/wp-content/uploads/2009/11/3.PNG" alt="3" width="380" height="424" /></p>
<p>사용불가 항목들이 나오는데..도움말을 클릭하면 각 항목에 대해 알 수 있다.</p>
<p>아. 맨위에 항목인 pmadb 가 OK인 이유는. 스샷을 하기 전. phpmyadmin폴더에</p>
<p>config.inc.php 였나.  설정 파일을 열어서 주석을 몇 개 제거했더니 달랑 한개 OK..</p>
<p>문제가 발생하는 원인은 phpmyadmin이라는 데이터베이스가 존재하지 않아서인데..</p>
<p><img class="alignnone size-full wp-image-76" title="4" src="http://jongsunkim.pe.kr/wp-content/uploads/2009/11/4.PNG" alt="4" width="197" height="105" /></p>
<p>위와 같이 phpmyadmin 데이터베이스가 존재하지 않는다.</p>
<p>그럼 만들어줘야할텐데, 테이블은 어떻게 구성할 것인가를 모르잖아?!!</p>
<p>설치된 phpmyadmin 데렉토리에 가보면 scripts라는 디렉토리가 있다.</p>
<p>그안에 create_tables.sql 이라는 sql 파일이 있는데 그걸!! mysql에 넣어주면 끝.</p>
<p><img class="alignnone size-full wp-image-77" title="5" src="http://jongsunkim.pe.kr/wp-content/uploads/2009/11/5.PNG" alt="5" width="740" height="494" /></p>
<p>자 이렇게.</p>
<p>그리고 다시 phpmyadmin 페이지를 확인해보면</p>
<p><img class="alignnone size-full wp-image-78" title="6" src="http://jongsunkim.pe.kr/wp-content/uploads/2009/11/6.PNG" alt="6" width="993" height="514" /></p>
<p>phpmyadmin 이라는 데이터베이스가 생성되었고 오류메시지도 사라졌다.</p>
<p>끝.</p>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/72/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle system 계정 비밀번호 분실시 해결방법</title>
		<link>http://jongsunkim.pe.kr/archives/69</link>
		<comments>http://jongsunkim.pe.kr/archives/69#comments</comments>
		<pubDate>Mon, 02 Nov 2009 11:03:10 +0000</pubDate>
		<dc:creator>Kim Jong-seon</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jongsunkim.pe.kr/?p=69</guid>
		<description><![CDATA[sqlplus &#8220;/as sysdba&#8221; 로 로그인 하는 경우에는 system 계정 패스워드 파일을 사용하거나 OS 인증을 사용한다. OS 인증의 경우에는 윈도우에서 ORA_DBA 그룹, 유닉스에서 dba 그룹인 경우 오라클이 설치된 컴에 administrator로 접속한 다음 C:\&#62;sqlplus /nolog SQL&#62;conn /as sysdba   &#8211; sys로 로그인 한 경우와 같기 때문에 system 계정의 암호를 변경할 수 있다. SQL&#62;alter user system idnetified by [...]]]></description>
			<content:encoded><![CDATA[<p>sqlplus &#8220;/as sysdba&#8221; 로 로그인 하는 경우에는 system 계정 패스워드 파일을 사용하거나 OS 인증을 사용한다.</p>
<p>OS 인증의 경우에는 윈도우에서 ORA_DBA 그룹, 유닉스에서 dba 그룹인 경우</p>
<p>오라클이 설치된 컴에 administrator로 접속한 다음</p>
<p>C:\&gt;sqlplus /nolog</p>
<p>SQL&gt;conn /as sysdba   &#8211; sys로 로그인 한 경우와 같기 때문에 system 계정의 암호를 변경할 수 있다.</p>
<p>SQL&gt;alter user system idnetified by NEW_PASSWD;</p>
<p>사용자가 변경되었습니다.</p>
<p>SQL&gt;alter user sys identified by NEW_PASSWD;</p>
]]></content:encoded>
			<wfw:commentRss>http://jongsunkim.pe.kr/archives/69/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

