¼­ºñ½º ¼Ò°³ ¹× ¿ä±Ý¾È³», »ç¿ë¾È³» µî ºí·çÀ¥ ¼­ºñ½º ÀÌ¿ë¿¡ ÀÖ¾î °¡Àå ¸¹ÀÌ ¹®ÀÇÇϽô »çÇ×À» ¸ð¾Æ µÎ¾ú½À´Ï´Ù.
FAQ¿¡¼­ ãÁö ¸øÇϰųª, Àß ÀÌÇØ°¡ µÇÁö ¾ÊÀ¸½Ã¸é 1:1 Ä£Àý»ó´ã½Ç·Î ¹®ÀǸÞÀÏÀ» ÁֽʽÿÀ.
FTP, ¸ÞÀÏ, ÇÁ·Î±×·¥ µîÀÇ »ç¿ë¹ý¿¡ °ü·ÃµÈ »ó´ãÀº ¼­ºñ½º »ç¿ë¹ý¿¡¼­ ¾È³»¹ÞÀ¸½Ç ¼ö ÀÖ½À´Ï´Ù.

ÀÚÁÖ ¹¯´Â Áú¹® (FAQ)
 
Á¦¸ñ JSP È£½ºÆÿ¡¼­ Mysql Á¢¼ÓÇÏ´Â ¹æ¹ýÀº ¾î¶»°Ô µÇ³ª¿ä? ±¸ºÐ È£½ºÆÃ
³»¿ë

Á¢¼Ó¹æ¹ýÀº ¾Æ·¡¿Í °°½À´Ï´Ù.

.

$ cat MysqlTest.jsp

<%@ page import="java.sql.*" contentType="text/html;charset=euckr"%>
<html>
<head>
<title>mysql Á¢¼Ó Å×½ºÆ®</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<body>
<%
String DB_URL = "jdbc:mysql://localhost:3306/db_name";
String DB_ID = "db_id";
String DB_PW = "db_password";

Connection conn = null;

try {
Class.forName("org.gjt.mm.mysql.Driver");
out.println("1 ´Ü°è. JDBC Driver ·Îµå : success<br>");
} catch(Exception ex) {
out.println("1 ´Ü°è. JDBC Driver ·Îµå : failure<br>");
}

try {
conn = DriverManager.getConnection(DB_URL, DB_ID, DB_PW);
if(conn != null) out.println("2 ´Ü°è. MYSQL Á¢¼Ó : success");
} catch(Exception ex) {
out.println("2 ´Ü°è. MYSQL Á¢¼Ó : failure");
} finally {
if(conn != null) try { conn.close(); } catch(Exception ex) {}
}
%>
</body>
</html>

À§ °æ¿ì ¸ðµÎ finally ºÎºÐÀ» º¸½Ã¸é ¾î¶°ÇÑ °æ¿ì¶óµµ conn °´Ã¼´Â ´Ý¾Æ¾ß ÇÑ´Ù´Â Á¡¿¡ ÁÖÀÇÇϽñ⠹ٶø´Ï´Ù.

ÀÚ¼¼ÇÑ ¹®ÀǴ¡º 02-3429-1917~9 ¡»À¸·Î ÀüÈ­¸¦ Áֽðųª,
¡º server@blueweb.co.kr¡»·Î ¸ÞÀÏÀ» ÁֽʽÿÀ. Ä£ÀýÇÏ°Ô ´äº¯ÇØ µå¸®°Ú½À´Ï´Ù.

1:1Ä£Àý»ó´ã½Ç·Î ¹®ÀÇÇϱâ