<?xml version="1.0" encoding="euc-kr"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>±¹³» 1À§ °³¹ßÀÚ Ä¿¹Â´ÏÆ¼! &gt; Q&amp;amp;A &gt; DB Q&amp;amp;A</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db</link>
<description>Å×½ºÆ® ¹öÀü 0.2 (2004-04-26)</description>
<language>ko</language>
<item>
<title>AUTO_INCREMENT</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198076</link>
<description><![CDATA[CREATE TABLE member (<br/>&nbsp;NO INT NOT NULL AUTO_INCREMENT PRIMARY KEY,<br/>&nbsp;id VARCHAR(10) NOT NULL,<br/>&nbsp;NAME VARCHAR(10) NOT NULL,<br/>&nbsp;email VARCHAR(20) NOT NULL,<br/>&nbsp;birthday CHAR(8) NOT NULL,<br/>&nbsp;avatar VARCHAR(20) NOT NULL<br/>)<br/><br/>ÀÌ·±½ÄÀ¸·Î Å×ÀÌºí ¸¸µé¶§ auto_incrementÇÏÀÝ¾Æ¿ä ±Ùµ¥ ±× ÃÊ±â°ªÀ» Å×ÀÌºí »ý¼º½Ã¿¡ ÁöÁ¤ÇØÁÙ¼ö ÀÖÀ»±î¿ä?<br/><br/>¾Æ´Ï¸é Å×ÀÌºí »ý¼ºÈÄ¿¡ µû·Î Äõ¸®¹®À» ½á¼­ ÁöÁ¤ÇØ¾ßÇÒ°Å °°Àºµ¥ Á¦°¡ ÃÊ±â°ªÀ» 10000000À¸·Î ÇÏ°í ½ÍÀºµ¥ ¾î¶»°Ô ÇØ¾ßÇÒ±î¿ä?]]></description>
<dc:creator>¼Ò¿¬*</dc:creator>
<dc:date>Thu, 20 Jun 2013 15:30:05 +0900</dc:date>
</item>
<item>
<title>db¼­¹ö ¿ë·® °ü·Ã Áú¹®ÀÔ´Ï´Ù.</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198074</link>
<description><![CDATA[¡Ø Q&A´Â Áú¹®¿¡ µû¸¥ ´äº¯À» ¹Þ´Â °÷ÀÌÁö ÀÇ·Ú¸¦ ÇÏ´Â °÷ÀÌ ¾Æ´Õ´Ï´Ù.<br/>&nbsp; &nbsp; °úÁ¦ÇØ°á ¶Ç´Â ¼Ò½º¸¦ Â¥´Þ¶ó°í ºÎÅ¹ÇÏ°Å³ª ´äº¯ÀÚ¿¡°Ô ¸·¸»ÇÒ °æ¿ì °èÁ¤ ºí·°Ã³¸® ÇÕ´Ï´Ù.<br/><br/>/usr/local/mysql ¿¡ mysql À» ¼³Ä¡ÇÏ°í datadir=/usr/local/mysql/data<br/>¿´½À´Ï´Ù.<br/><br/>±×·±µ¥ ¹ÙÀÌ³Ê¸® ·Î±×°¡ µ¢Ä¡°¡ ³Ê¹« Ä¿Á®¼­ ÇÏµå¸¦ Ãß°¡ÇÏ°ÔµÆ´Âµ¥<br/>Ãß°¡µÈ ÇÏµå¸¦ ¸¶¿îÆ®ÇØ¼­ ¾²±â·Î Çß°Åµç¿ä.<br/>±×·¡¼­ /usr/local/mysql/data1ÀÌ¶ó´Â Æú´õ¸¦ »ý¼ºÇØ¼­ °Å±â¿¡ ¸¶¿îÆ®¸¦ ÇÏ°í<br/>±âÁ¸ÀÇ data¸¦ ÀÌ Æú´õ¿¡ º¹»çÇÏ°íÀÖ¾ú´Âµ¥....<br/>/ÀÇ ¿ë·®µµ °°ÀÌ Áõ°¡ÇÏ³×¿ä..;;;<br/>°á±¹ °ø°£ÀÌ ¾ø¾î¼­ º¹»çÇÏ±â°¡ ½ÇÆÐÇß½À´Ï´Ù.;;<br/><br/>ÀÌ°Ô ¿ÖÀÌ·±°ÅÁÒ?? ¸¶¿îÆ®¸¦ ÇßÀ¸´Ï±î data1ÀÌ¶ó´Â Æú´õ´Â µ¶¸³ÀûÀÎ °ø°£ÀÌ µÇ´Â°Ô ¾Æ´ÑÁö¿ä.;;]]></description>
<dc:creator>LittleBomb</dc:creator>
<dc:date>Thu, 20 Jun 2013 15:20:59 +0900</dc:date>
</item>
<item>
<title>ÀÏÀÏ ¸®Æ÷Æ® Ãâ·Â ¹®ÀÇ</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198062</link>
<description><![CDATA[¡Ø Q&A´Â Áú¹®¿¡ µû¸¥ ´äº¯À» ¹Þ´Â °÷ÀÌÁö ÀÇ·Ú¸¦ ÇÏ´Â °÷ÀÌ ¾Æ´Õ´Ï´Ù.<br/>&nbsp; &nbsp; °úÁ¦ÇØ°á ¶Ç´Â ¼Ò½º¸¦ Â¥´Þ¶ó°í ºÎÅ¹ÇÏ°Å³ª ´äº¯ÀÚ¿¡°Ô ¸·¸»ÇÒ °æ¿ì °èÁ¤ ºí·°Ã³¸® ÇÕ´Ï´Ù.<br/><br/>ÀÏÀÏ ¸®Æ÷Æ® Ãâ·Â °ü·ÃÇØ¼­ ¹®ÀÇµå·Á¿ä~<br/><br/>µ¥ÀÌÅ¸°¡<br/>µ¥ÀÌÅ¸1 2013-06-18<br/>µ¥ÀÌÅ¸2 2013-06-18<br/>µ¥ÀÌÅ¸3 2013-06-20<br/><br/>À§¿Í °°ÀÌ 19ÀÏ µ¥ÀÌÅ¸°¡ ÇÏ³ªµµ ¾øÀ»°æ¿ì 0 À¸·Î ³ª¿À°Ô ÇÏ°í ½ÍÀºµ¥¿ä<br/><br/>SELECT COUNT(ÄÃ·³) FROM TABLE GROUP BY ³¯Â¥<br/><br/>2013-06-18 2<br/>2013-06-19 0<br/>2013-06-20 1<br/><br/>¾î¶»°Ô ÇÏ¸é µÇ³ª¿ä??]]></description>
<dc:creator>¹ßÄÚµù¢â</dc:creator>
<dc:date>Thu, 20 Jun 2013 13:53:19 +0900</dc:date>
</item>
<item>
<title>°Ô½Ã¹°ÀÌ »è.Á¦. µÇ¾ú½À´Ï´Ù.</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198060</link>
<description><![CDATA[ÀÌ °Ô½Ã¹°Àº LittleBomb´Ô¿¡ ÀÇÇØ 2013-06-20 14:30:59 ¿¡ »è.Á¦.µÇ¾ú½À´Ï´Ù.]]></description>
<dc:creator>LittleBomb</dc:creator>
<dc:date>Thu, 20 Jun 2013 13:50:41 +0900</dc:date>
</item>
<item>
<title>mysqldump 2013¿¡·¯¿Í /tmp/mysql.sock 2002¿¡·¯... µµ¿ÍÁÖ¼¼¿ä</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198057</link>
<description><![CDATA[È¨ÆäÀÌÁö¿¡¼­ ÀÎ¼­Æ® ¾÷µ¥ÀÌÆ® ¼¿·ºÆ®´Â ÀßµÇ³ª ºÒÆ¯Á¤ Äõ¸®°¡ ÀÖ´Â ÆäÀÌÁö¿¡¼­´Â ¾Æ·¡ µÎ°³ ¿¡·¯°¡ ¹ø°¥¾Æ °¡¸é¼­ Ç¥½ÃµË´Ï´Ù. (»õ·Î°íÄ§ÇÒ¶§¸¶´Ù Æ²¸²)<br/>1-1. Lost connection to MySQL server during query(´ÝÀ» DB °´Ã¼°¡ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù.)Lost connection to MySQL server during query[2013]<br/><br/>1-2. (DB Á¢¼Ó ¿À·ù ÀÔ´Ï´Ù.)Can&#039;t connect to local MySQL server through socket &#039;/tmp/mysql.sock&#039; (2)[2002]<br/><br/>Å×ÀÌºí ¹é¾÷À» ¶ã·Á°í /usr/loacl/mysql/bin/mysqldump -u root -p table &gt; table.sql À» ÇÏ¸é ¾Æ·¡ ¿¡·¯°¡ ³ª¿É´Ï´Ù.<br/>2. mysqldump: Got error: 2013: Lost connection to MySQL server during query when using LOCK TABLES<br/>´ýÇÁ¶ã¶§ ¾Æ·¡¿¡ ¿¡·¯ ¸Þ½ÃÁöº¸¸é <br/>.<br/>.<br/>.....LOCK TABLES `MVO` READ......<br/>thd-&gt;thread_id=228<br/>thd-&gt;killed=NOT_KILLED<br/>ÀÌ°ÅÀ§¿¡ Å×ÀÌºí ¶ôÀÌ¶ó´Â ¸Þ½ÃÁö°¡³ª¿É´Ï´Ù..<br/><br/>OS ¹öÀü : <br/>Linux localhost.localdomain 2.6.18-348.3.1.el5 #1 SMP Mon Mar 11 19:39:25 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux<br/>CentOS release 5.9 (Final)<br/>Kernel \r on an \m<br/><br/>MYSQL ¹öÀü : mysql&nbsp; Ver 14.14 Distrib 5.1.32, for unknown-linux-gnu (x86_64) using readline 5.1<br/>Apache ¹öÀü : Server version: Apache/2.2.22 (Unix) Server built:&nbsp;  Mar 14 2013 15:54:40<br/><br/><br/>µµ¿ÍÁÖ¼¼¿ä ¤Ð¤Ð....<br/><br/>-----------------Ã·ºÎÆÄÀÏ---------------------<br/>1.top¸í·É¾î.bmp<br/>2.df -h¸í·É¾î.bmp<br/><br/>¾Æ·¡ µÎ°³ ÆÄÀÏÀº Ã·ºÎ°¡ ¾ÈµÇ¾î ÇÏ´Ü¿¡ ºÙ¿©³õ¾Ò½À´Ï´Ù.................<br/>3.localhost.localdomain.err.txt<br/>4.my.cnf.txt<br/><br/>Ã·ºÎÆÄÀÏ¿¡ service mysqld stop ÈÄ startÇÑ ½ÃÁ¡ºÎÅÍ 1-1,2 ¿¡·¯°¡ ³ª¿Â°Í°ú 2¹ø ¿¡·¯°¡ ³ª¿Â ºÎºÐÀ» localhost.localdomain.err.txt ·Î Ã·ºÎÇÏ¿´½À´Ï´Ù.<br/><br/>¶ÇÇÑ my.cnf ÆÄÀÏÀ» my.cnf.txt À¸·Î Ã·ºÎÇÏ¿´½À´Ï´Ù.<br/><br/>¸Þ¸ð¸® 8G ½º¿Ò¸Þ¸ð¸® 16G, CPU 4°³ =&nbsp; top¸í·É¾î.bmp ÆÄÀÏ¿¡ ½ºÅ©¸°¼¦À» Âï¾ú½À´Ï´Ù.<br/>¿ë·® Á¤º¸´Â df -h¸í·É¾î.bmp ÆÄÀÏ¿¡ ½ºÅ©¸°¼¦À» Âï¾ú½À´Ï´Ù.<br/><br/>----------------------------------------------------------------------------------------<br/>localhost.localdomain.err.txt ½ÃÀÛ<br/>----------------------------------------------------------------------------------------<br/><br/>InnoDB: File name ./data<br/>InnoDB: File operation call: &#039;stat&#039;.<br/>InnoDB: Error: os_file_readdir_next_file() returned -1 in<br/>InnoDB: directory .<br/>InnoDB: Crash recovery may have failed for some .ibd files!<br/>InnoDB: Restoring possible half-written data pages from the doublewrite<br/>InnoDB: buffer...<br/>InnoDB: Last MySQL binlog file position 0 2904, file name ./mysql-bin.000102<br/>130620 11:34:39&nbsp; InnoDB: Started; log sequence number 0 1380773037<br/>130620 11:34:39 [Note] Recovering after a crash using mysql-bin<br/>130620 11:34:39 [Note] Starting crash recovery...<br/>130620 11:34:39 [Note] Crash recovery finished.<br/>130620 11:34:39 [Note] Event Scheduler: Loaded 0 events<br/>130620 11:34:39 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.<br/>Version: &#039;5.1.32-log&#039;&nbsp; socket: &#039;/tmp/mysql.sock&#039;&nbsp; port: 3306&nbsp; Source distribution<br/>130620 11:35:31 [Note] /usr/local/mysql/libexec/mysqld: Á¤»óÀûÀÎ shutdown<br/><br/>130620 11:35:31 [Note] Event Scheduler: Purging the queue. 0 events<br/>130620 11:35:31&nbsp; InnoDB: Starting shutdown...<br/>130620 11:35:34&nbsp; InnoDB: Shutdown completed; log sequence number 0 1380774823<br/>130620 11:35:34 [Note] /usr/local/mysql/libexec/mysqld: Shutdown ÀÌ ¿Ï·áµÊ!<br/><br/>130620 11:35:34 mysqld_safe mysqld from pid file /usr/local/mysql/data/localhost.localdomain.pid ended<br/>130620 11:35:46 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data<br/>130620 11:35:47 [Warning] The syntax &#039;--log_slow_queries&#039; is deprecated and will be removed in MySQL 7.0. Please use &#039;--slow_query_log&#039;/&#039;--slow_query_log_file&#039; instead.<br/>130620 11:35:50&nbsp; InnoDB: Started; log sequence number 0 1380774823<br/>130620 11:35:50 [Warning] &#039;user&#039; entry &#039;<a href='mailto:root@localhost.localdomain&#039'>root@localhost.localdomain&#039</a>; ignored in --skip-name-resolve mode.<br/>130620 11:35:50 [Warning] &#039;user&#039; entry &#039;@localhost.localdomain&#039; ignored in --skip-name-resolve mode.<br/>130620 11:35:50 [Note] Event Scheduler: Loaded 0 events<br/>130620 11:35:50 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.<br/>Version: &#039;5.1.32-log&#039;&nbsp; socket: &#039;/tmp/mysql.sock&#039;&nbsp; port: 3306&nbsp; Source distribution<br/>130620 11:36:41&nbsp; InnoDB: Error: (1500) Couldn&#039;t read the MAX(seq) autoinc value from the index (PRIMARY).<br/>130620 11:36:41&nbsp; InnoDB: Assertion failure in thread 47661448767808 in file handler/ha_innodb.cc line 2595<br/>InnoDB: Failing assertion: error == DB_SUCCESS<br/>InnoDB: We intentionally generate a memory trap.<br/>InnoDB: Submit a detailed bug report to <A HREF="http://bugs.mysql.com." TARGET='_blank'>http://bugs.mysql.com.</A><br/>InnoDB: If you get repeated assertion failures or crashes, even<br/>InnoDB: immediately after the mysqld startup, there may be<br/>InnoDB: corruption in the InnoDB tablespace. Please refer to<br/>InnoDB: <A HREF="http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html" TARGET='_blank'>http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html</A><br/>InnoDB: about forcing recovery.<br/>130620 11:36:41 - mysqld got signal 6 ;<br/>This could be because you hit a bug. It is also possible that this binary<br/>or one of the libraries it was linked against is corrupt, improperly built,<br/>or misconfigured. This error can also be caused by malfunctioning hardware.<br/>We will try our best to scrape up some info that will hopefully help diagnose<br/>the problem, but since we have already crashed, something is definitely wrong<br/>and this may fail.<br/><br/>key_buffer_size=536870912<br/>read_buffer_size=4194304<br/>max_used_connections=2<br/>max_threads=512<br/>threads_connected=2<br/>It is possible that mysqld could use up to<br/>key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4723788 K<br/>bytes of memory<br/>Hope that&#039;s ok; if not, decrease some variables in the equation.<br/><br/>thd: 0x11ff7f70<br/>Attempting backtrace. You can use the following information to find out<br/>where mysqld died. If you see no messages after this, something went<br/>terribly wrong...<br/>stack_bottom = 0x2b590bb920e0 thread_stack 0x40000<br/>/usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x24) [0x75f504]<br/>/usr/local/mysql/libexec/mysqld(handle_segfault+0x322) [0x58c6a2]<br/>/lib64/libpthread.so.0 [0x3a52a0eca0]<br/>/lib64/libc.so.6(gsignal+0x35) [0x3a522302c5]<br/>/lib64/libc.so.6(abort+0x110) [0x3a52231d70]<br/>/usr/local/mysql/lib/mysql/plugin/ha_innodb.so [0x2b57e6a6b0c7]<br/>/usr/local/mysql/libexec/mysqld(handler::ha_open(st_table*, char const*, int, int)+0x3f) [0x67971f]<br/>/usr/local/mysql/libexec/mysqld(open_table_from_share(THD*, st_table_share*, char const*, unsigned int, unsigned int, unsigned int, st_table*, bool)+0x4dc) [0x5e4b7c]<br/>/usr/local/mysql/libexec/mysqld [0x5de2f0]<br/>/usr/local/mysql/libexec/mysqld(open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned int)+0x799) [0x5dfab9]<br/>/usr/local/mysql/libexec/mysqld(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int)+0x650) [0x5e0df0]<br/>/usr/local/mysql/libexec/mysqld(open_and_lock_tables_derived(THD*, TABLE_LIST*, bool)+0x36) [0x5e1116]<br/>/usr/local/mysql/libexec/mysqld [0x596e9a]<br/>/usr/local/mysql/libexec/mysqld(mysql_execute_command(THD*)+0x182e) [0x59c21e]<br/>/usr/local/mysql/libexec/mysqld(mysql_parse(THD*, char const*, unsigned int, char const**)+0x228) [0x5a2528]<br/>/usr/local/mysql/libexec/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0x3e3) [0x5a2913]<br/>/usr/local/mysql/libexec/mysqld(do_command(THD*)+0xe4) [0x5a3ac4]<br/>/usr/local/mysql/libexec/mysqld(handle_one_connection+0x5d7) [0x5946e7]<br/>/lib64/libpthread.so.0 [0x3a52a0683d]<br/>/lib64/libc.so.6(clone+0x6d) [0x3a522d503d]<br/>Trying to get some variables.<br/>Some pointers may be invalid and cause the dump to abort...<br/>thd-&gt;query at 0x11ffa820 = /*64.37.29.110/m_cp/cp_payment.php*/ SELECT count(*) FROM aVlive_stock where adid=&#039;mmstar&#039; and kind=&#039;c&#039;<br/>thd-&gt;thread_id=46<br/>thd-&gt;killed=NOT_KILLED<br/>The manual page at <A HREF="http://dev.mysql.com/doc/mysql/en/crashing.html" TARGET='_blank'>http://dev.mysql.com/doc/mysql/en/crashing.html</A> contains<br/>information that should help you find out what is causing the crash.<br/>130620 11:36:42 mysqld_safe Number of processes running now: 0<br/>130620 11:36:42 mysqld_safe mysqld restarted<br/>130620 11:36:42 [Warning] The syntax &#039;--log_slow_queries&#039; is deprecated and will be removed in MySQL 7.0. Please use &#039;--slow_query_log&#039;/&#039;--slow_query_log_file&#039; instead.<br/>InnoDB: Log scan progressed past the checkpoint lsn 0 1380778723<br/>130620 11:36:44&nbsp; InnoDB: Database was not shut down normally!<br/>InnoDB: Starting crash recovery.<br/>InnoDB: Reading tablespace information from the .ibd files...<br/>130620 11:36:44&nbsp; InnoDB: Operating system error number 2 in a file operation.<br/>InnoDB: The error means the system cannot find the path specified.<br/>InnoDB: If you are installing InnoDB, remember that you must create<br/>InnoDB: directories yourself, InnoDB does not create them.<br/><br/>--------------------------------------------------------------------º»¹®ÀÇ 2¹ø¿¡ ÇØ´çµÇ´Â ¿¡·¯¸Þ½ÃÁö-----------------------------------------------------------<br/><br/>Version: &#039;5.1.32-log&#039;&nbsp; socket: &#039;/tmp/mysql.sock&#039;&nbsp; port: 3306&nbsp; Source distribution<br/>130620 11:44:29&nbsp; InnoDB: Error: (1500) Couldn&#039;t read the MAX(seq) autoinc value from the index (PRIMARY).<br/>130620 11:44:29&nbsp; InnoDB: Assertion failure in thread 47661084760384 in file handler/ha_innodb.cc line 2595<br/>InnoDB: Failing assertion: error == DB_SUCCESS<br/>InnoDB: We intentionally generate a memory trap.<br/>InnoDB: Submit a detailed bug report to <A HREF="http://bugs.mysql.com." TARGET='_blank'>http://bugs.mysql.com.</A><br/>InnoDB: If you get repeated assertion failures or crashes, even<br/>InnoDB: immediately after the mysqld startup, there may be<br/>InnoDB: corruption in the InnoDB tablespace. Please refer to<br/>InnoDB: <A HREF="http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html" TARGET='_blank'>http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html</A><br/>InnoDB: about forcing recovery.<br/>130620 11:44:29 - mysqld got signal 6 ;<br/>This could be because you hit a bug. It is also possible that this binary<br/>or one of the libraries it was linked against is corrupt, improperly built,<br/>or misconfigured. This error can also be caused by malfunctioning hardware.<br/>We will try our best to scrape up some info that will hopefully help diagnose<br/>the problem, but since we have already crashed, something is definitely wrong<br/>and this may fail.<br/><br/>key_buffer_size=536870912<br/>read_buffer_size=4194304<br/>max_used_connections=2<br/>max_threads=512<br/>threads_connected=1<br/>It is possible that mysqld could use up to<br/>key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4723788 K<br/>bytes of memory<br/>Hope that&#039;s ok; if not, decrease some variables in the equation.<br/><br/>thd: 0x2b58e8f85260<br/>Attempting backtrace. You can use the following information to find out<br/>where mysqld died. If you see no messages after this, something went<br/>terribly wrong...<br/>stack_bottom = 0x2b58f606d0e0 thread_stack 0x40000<br/>/usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x24) [0x75f504]<br/>/usr/local/mysql/libexec/mysqld(handle_segfault+0x322) [0x58c6a2]<br/>/lib64/libpthread.so.0 [0x3a52a0eca0]<br/>/lib64/libc.so.6(gsignal+0x35) [0x3a522302c5]<br/>/lib64/libc.so.6(abort+0x110) [0x3a52231d70]<br/>/usr/local/mysql/lib/mysql/plugin/ha_innodb.so [0x2b57c80fa0c7]<br/>/usr/local/mysql/libexec/mysqld(handler::ha_open(st_table*, char const*, int, int)+0x3f) [0x67971f]<br/>/usr/local/mysql/libexec/mysqld(open_table_from_share(THD*, st_table_share*, char const*, unsigned int, unsigned int, unsigned int, st_table*, bool)+0x4dc) [0x5e4b7c]<br/>/usr/local/mysql/libexec/mysqld [0x5de2f0]<br/>/usr/local/mysql/libexec/mysqld(open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned int)+0x799) [0x5dfab9]<br/>/usr/local/mysql/libexec/mysqld(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int)+0x650) [0x5e0df0]<br/>/usr/local/mysql/libexec/mysqld(open_and_lock_tables_derived(THD*, TABLE_LIST*, bool)+0x36) [0x5e1116]<br/>/usr/local/mysql/libexec/mysqld(mysql_execute_command(THD*)+0x3de8) [0x59e7d8]<br/>/usr/local/mysql/libexec/mysqld(mysql_parse(THD*, char const*, unsigned int, char const**)+0x228) [0x5a2528]<br/>/usr/local/mysql/libexec/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0x3e3) [0x5a2913]<br/>/usr/local/mysql/libexec/mysqld(do_command(THD*)+0xe4) [0x5a3ac4]<br/>/usr/local/mysql/libexec/mysqld(handle_one_connection+0x5d7) [0x5946e7]<br/>/lib64/libpthread.so.0 [0x3a52a0683d]<br/>/lib64/libc.so.6(clone+0x6d) [0x3a522d503d]<br/>Trying to get some variables.<br/>Some pointers may be invalid and cause the dump to abort...<br/>thd-&gt;query at 0x1c2566c0 = LOCK TABLES `MVO` READ /*!32311 LOCAL */,`MVO_COMMENT` READ /*!32311 LOCAL */,`aaaa_ADMIN` READ /*!32311 LOCAL */,`aaaa_CPA` READ /*!32311 LOCAL */,`aaaa_CPA_RESULT` READ /*!32311 LOCAL */,`aaaa_MEMBER` READ /*!32311 LOCAL */,`aaaa_PAYMENT` READ /*!32311 LOCAL */,`aaaa_PAYMENT_FAIL` READ /*!32311 LOCAL */,`aaaa_mem2mem` READ /*!32311 LOCAL */,`aaaa_payment_list` READ /*!32311 LOCAL */,`aaaa_referer` READ /*!32311 LOCAL */,`aaaa_site` READ /*!32311 LOCAL */,`aaaa_stock` READ /*!32311 LOCAL */,`aaaa_streaming` READ /*!32311 LOCAL */,`bbbb_ADMIN` READ /*!32311 LOCAL */,`bbbb_CPA` READ /*!32311 LOCAL */,`bbbb_CPA_RESULT` READ /*!32311 LOCAL */,`bbbb_MEMBER` READ /*!32311 LOCAL */,`bbbb_PAYMENT` READ /*!32311 LOCAL */,`bbbb_PAYMENT_FAIL` READ /*!32311 LOCAL */,`bbbb_QNA` READ /*!32311 LOCAL */,`bbbb_mem2mem` READ /*!32311 LOCAL */,`bbbb_notice` READ /*!32311 LOCAL */,`bbbb_payment_list` READ /*!32311 LOCAL */,`bbbb_referer` READ /*!32311 LOCAL */,<br/>thd-&gt;thread_id=228<br/>thd-&gt;killed=NOT_KILLEDThe manual page at <A HREF="http://dev.mysql.com/doc/mysql/en/crashing.html" TARGET='_blank'>http://dev.mysql.com/doc/mysql/en/crashing.html</A> contains<br/>information that should help you find out what is causing the crash.<br/>130620 11:44:30 mysqld_safe Number of processes running now: 0<br/>130620 11:44:30 mysqld_safe mysqld restarted<br/>130620 11:44:30 [Warning] The syntax &#039;--log_slow_queries&#039; is deprecated and will be removed in MySQL 7.0. Please use &#039;--slow_query_log&#039;/&#039;--slow_query_log_file&#039; instead.<br/>InnoDB: The log sequence number in ibdata files does not match<br/>InnoDB: the log sequence number in the ib_logfiles!<br/>130620 11:44:32&nbsp; InnoDB: Database was not shut down normally!<br/>InnoDB: Starting crash recovery.<br/>InnoDB: Reading tablespace information from the .ibd files...<br/>130620 11:44:32&nbsp; InnoDB: Operating system error number 2 in a file operation.<br/>InnoDB: The error means the system cannot find the path specified.<br/>InnoDB: If you are installing InnoDB, remember that you must create<br/>InnoDB: directories yourself, InnoDB does not create them.<br/><br/>----------------------------------------------------------------------------------------<br/>localhost.localdomain.err.txt ³¡<br/>----------------------------------------------------------------------------------------<br/><br/><br/><br/><br/><br/>----------------------------------------------------------------------------------------<br/>my.cnf.txt ½ÃÀÛ<br/>----------------------------------------------------------------------------------------<br/>#DESCR: 4GB RAM, InnoDB only, ACID, few connections, heavy queries<br/><br/>[client]<br/>#password&nbsp; &nbsp; &nbsp;  = [your_password]<br/>port&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3306<br/>socket&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = /tmp/mysql.sock<br/>#socket&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = /usr/local/mysql/data/mysql.sock<br/>character-set=utf8<br/><br/><br/>[mysqld]<br/><br/>port&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3306<br/>#socket&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = /usr/local/mysql/data/mysql.sock<br/>ignore-builtin-innodb<br/>plugin-load=innodb=ha_innodb.so<br/><br/>datadir = /usr/local/mysql/data<br/>log_slow_queries = /usr/local/mysql/data/slow_query.log<br/>init_connect = SET collation_connection = euckr-korean_ci<br/>init_connect = SET NAMES euckr<br/>default-character-set = euckr<br/>language = /usr/local/mysql/share/mysql/korean<br/>#init_connect=SET collation_connection = utf8_general_ci<br/>#init_connect=SET NAMES utf8<br/>#default-character-set=utf8<br/>#character-set-server=utf8<br/>#collation-server=utf8_general_ci<br/><br/><br/>max_connections = 512<br/>long_query_time = 5<br/>connect_timeout = 1800<br/>wait_timeout = 300<br/>old_password = 1<br/><br/>log-bin=mysql-bin<br/>skip-name-resolve<br/>skip-locking<br/>key_buffer = 512M<br/>table_cache = 2048<br/>max_allowed_packet = 128M<br/>join_buffer_size = 4M<br/>sort_buffer_size = 4M<br/>read_buffer_size = 4M<br/>read_rnd_buffer_size = 16M<br/>myisam_sort_buffer_size = 64M<br/>thread_cache_size = 8<br/>thread_concurrency = 4<br/>query_cache_size = 256M<br/>default-storage-engine = INNODB<br/>default-table-type = INNODB<br/><br/>########## MyISAM ##########<br/>key_buffer_size = 512M<br/><br/><br/>############################## Part 2 ##############################<br/><br/><br/># *** INNODB Specific options ***<br/>innodb_additional_mem_pool_size = 256M<br/>innodb_buffer_pool_size = 4G<br/>innodb_data_home_dir = /usr/local/mysql/data<br/>innodb_data_file_path = ibdata1:2000M;ibdata2:2000M;ibdata3:2000M;ibdata4:2000M;ibdata5:2000M:autoextend<br/>innodb_file_io_threads = 4<br/>innodb_thread_concurrency = 8<br/>innodb_log_buffer_size = 8M<br/>innodb_log_file_size = 512M<br/>innodb_log_files_in_group = 2<br/>innodb_lock_wait_timeout = 60<br/><br/><br/>############################## Part 3 ##############################<br/><br/><br/>[mysqldump]<br/>quick<br/>max_allowed_packet = 128M<br/><br/>[mysql]<br/>no-auto-rehash<br/><br/>[isamchk]<br/>key_buffer = 512M<br/>sort_buffer_size = 512M<br/>read_buffer = 8M<br/>write_buffer = 8M<br/><br/>[myisamchk]<br/>key_buffer = 512M<br/>sort_buffer_size = 512M<br/>read_buffer = 8M<br/>write_buffer = 8M<br/><br/>[mysqlhotcopy]<br/>interactive-timeout<br/><br/>[mysqld_safe]<br/>open-files-limit = 8192<br/><br/><br/>----------------------------------------------------------------------------------------<br/>my.cnf.txt ³¡<br/>----------------------------------------------------------------------------------------]]></description>
<dc:creator>¸®Æä·Î</dc:creator>
<dc:date>Thu, 20 Jun 2013 12:07:21 +0900</dc:date>
</item>
<item>
<title>html·Î ¸¸µç °£´Ü¼Ò½º db¿¬µ¿ Áú¹®µå¸³´Ï´Ù.</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198055</link>
<description><![CDATA[html·Î <br/>¹öÆ° ´©¸£¸é ·£´ýÀ¸·Î Á¤ÇØÁø »ç¶÷Áß 1¸íÀ» »Ì´Â °É ¸¸µé¾ú½À´Ï´Ù. ( ÀÎÅÍ³Ý ¿¬°á¾øÀÌ ·ÎÄÃÁÖ¼Ò·Î)<br/><br/>¿©±â¼­ ÀüÃ¼ »ç¶÷Áß ÇÑ¸íÀÌ »ÌÈ÷¸é ±× ÇÑ¸í ¿·¿¡ 1¹ø »ÌÇû´Ù¶ó´Â½ÄÀÇ Ä«¿îÆ®°¡ Áõ°¡ÇÏµµ·Ï<br/>¸¸µé·Á°íÇÏ´Âµ¥ ¾î¶»°ÔÇÏ¸é ÁÁÀ»Áö ±Ã±ÝÇÕ´Ï´Ù. -°ø¿ëÄÄÇ»ÅÍ¿¡¼­ ÇÏ´Â°Å¶ó ÇÑ ÄÄÇ»ÅÍ¿¡¼­¸¸ ¾µ°Ì´Ï´Ù<br/><br/>db¸¦ ¿¬µ¿½ÃÄÑ¾ßµÉ°Å°°Àºµ¥ mysqlÀÌ ÀÎÅÍ³ÝÀÌ ¾ÈµÇ´Â È¯°æ¿¡¼­ °¡´ÉÇÑÁöµµ ±Ã±ÝÇÕ´Ï´Ù.<br/><br/>±»ÀÌ html·Î ¾È¸¸µé¾îµµ µË´Ï´Ù¸¸ ·ÎÄÃ·Î °£´ÜÈ÷ ¾µ·Á°í ¸¸µç °³ÀÎ¿ëÀÌ±â¶§¹®¿¡ ±×·¸½À´Ï´Ù..]]></description>
<dc:creator>dreaminz</dc:creator>
<dc:date>Thu, 20 Jun 2013 11:50:08 +0900</dc:date>
</item>
<item>
<title>INNODB ¿Ü·¡Å°(FK)¿¡ 0°ª ³Ö±â</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198050</link>
<description><![CDATA[¾È³çÇÏ¼¼¿ä.<br/><br/>³ª¸§ ½É°¢ÇÑ µô·¹¸¶°¡ ¹ß»ýÇß³×¿ä.<br/><br/><br/>°¢ ÁöÁ¡º° Á¦Ç°°ü¸® DBÀÔ´Ï´Ù.<br/><br/>ÁöÁ¡º°·Î Á¦Ç°À» µî·Ï(Á¦Ç°Å×ÀÌºí)ÇÏ°í ¸ÅÃâ(¸ÅÃâÅ×ÀÌºí)À» ±â·ÏÇÏ´Â TBµéÀÎµ¥<br/><br/>Á¦Ç°¸íÀÌ ¾ø´Â. ´Ù½Ã¸»ÇØ ¹Ìµî·ÏÁ¦Ç°À» ÀÔ·ÂÇÏ°í ½Í½À´Ï´Ù.<br/><br/>Á¦Ç°Å×ÀÌºí°ú ¸ÅÃâÅ×ÀÌºíÀº FKÅ°·Î ¿¬°á½ÃÄ×½À´Ï´Ù.<br/><br/><br/>Á¦Ç°Å×ÀÌºí<br/>no&nbsp; =&gt;&nbsp; primary key,<br/>branch =&gt; ÁöÁ¡¹øÈ£,<br/>name =&gt; Á¦Ç°¸í,<br/><br/>¿µ¾÷Å×ÀÌºí<br/>no =&gt; primary key,<br/>branch =&gt; ÁöÁ¡¹øÈ£,<br/>Á¦Ç°.no =&gt; Á¦Ç°Å×ÀÌºí.no (¿Ü·¡Å°,FK)<br/>price =&gt; °¡°Ý<br/><br/>°£·«ÇÑ Å×ÀÌºí ¼³¸íÀÔ´Ï´Ù.<br/><br/>°¢ ÁöÁ¡¿¡¼­ °¢ÀÚ Á¦Ç°À» µî·ÏÇÏ°í ¿µ¾÷À» ±â·ÏÇÒ ¶§ ¹Ìµî·ÏÁ¦Ç°(Á¦Ç°Å×ÀÌºí¿¡ ¾ø´Â)À» µî·Ï½ÃÅ°°íÀÚ ÇÕ´Ï´Ù.<br/><br/>´Ù½Ã ¸»ÇØ ¿µ¾÷Å×ÀÌºíÀÇ Á¦Ç°.no ÇÊµå¿¡ NULL°ªÀÌ³ª 0°ªÀ¸·Î ÀÔ·Â½ÃÅ°°íÀÚ ÇÕ´Ï´Ù.<br/><br/>NULL°ªÀ» ÀÔ·Â½ÃÅ°´Â °ÍÀº ¹®Á¦°¡ ¾øÀ¸³ª Äõ¸® ½Ã ³Ê¹« ³­ÇØÇÑ ¼Ò½º°¡ ¸¸µé¾îÁö±¸¿ä,<br/><br/>0°ªÀº ÀÔ·ÂÇÒ ¹æ¹ýÀÌ ¾ø½À´Ï´Ù.(Á¦Ç°Å×ÀÌºí¿¡ 0°ªÀÌ ¾øÀ¸¹Ç·Î)<br/><br/>ÇöÀç ¼Ò½º°¡ »ó´çÈ÷ ÁøÃ´µÈ »óÈ²¿¡¼­ FKÅ°¸¦ ºÙÀÌ°í ÀÖ´Âµ¥<br/><br/>"SELECT * FROM ¿µ¾÷Å×ÀÌºí WHERE Á¦Ç°.no=&#039;0&#039;"(¿µ¾÷Å×ÀÌºí¿¡¼­ ¹Ìµî·ÏÁ¦Ç°À» ¸ðµÎ Ã£¾Æ¶ó)<br/><br/>&nbsp;À¸·Î Äõ¸®¸¦ ³¯¸®´Â ÁÁÀº ¹æ¹ýÀÌ ¾øÀ»±î¿ä?<br/><br/>** Á¦Ç°Å×ÀÌºí¿¡ 1¹øÀ» ¹Ìµî·ÏÁ¦Ç°À¸·Î ÇÒ´çÇÏ´Â ¹æ¹ýÀº ºÒ°¡´ÉÇÏ±¸¿ä~ ÀÌ°Ô ¾ÈµÇ¸é FKÅ°¸¦ Æ÷±âÇÏ´Â ¼ö ¹Û¿¡ ¾ø¾î¿ä ¤Ð¤Ð]]></description>
<dc:creator>Àåµ¿°ÇÂ¯</dc:creator>
<dc:date>Thu, 20 Jun 2013 00:48:12 +0900</dc:date>
</item>
<item>
<title>myadmin ¿ÜºÎÁ¢¼ÓÇÏ±âÀ§ÇØ¼­´Â ±ÇÇÑÀ» ¾îµð¼­ ¼³Á¤ÇÏ³ª¿ä?</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198049</link>
<description><![CDATA[¡Ø Q&A´Â Áú¹®¿¡ µû¸¥ ´äº¯À» ¹Þ´Â °÷ÀÌÁö ÀÇ·Ú¸¦ ÇÏ´Â °÷ÀÌ ¾Æ´Õ´Ï´Ù.<br/>&nbsp; &nbsp; °úÁ¦ÇØ°á ¶Ç´Â ¼Ò½º¸¦ Â¥´Þ¶ó°í ºÎÅ¹ÇÏ°Å³ª ´äº¯ÀÚ¿¡°Ô ¸·¸»ÇÒ °æ¿ì °èÁ¤ ºí·°Ã³¸® ÇÕ´Ï´Ù.<br/><br/>apmsetup À» ÇØ¼­ »õ·Î ±ò¾Ò´Âµ¥ ±ò¾Ò´ø local ¿¡¼­´Â myadminÀÌ µË´Ï´Ù.<br/><br/>±×·±µ¥ Áý¿¡¼­ ÀÛ¾÷À» ÇÏ·Á°í FTP ¶û ´Ù µé¾î°¡Áö´Âµ¥&nbsp; È¨ÇÇµµ º¸ÀÌ°í ÇÏ´Âµ¥<br/><br/>myadminÀº Á¢¼ÓÀÌ ¾ÈµÇ³×¿ä. ÀÌ°Å µû·Î ±ÇÇÑÀ» ¼³Á¤ÇØÁÖ¾î¾ß ÇÑ´Ù°íÇÏ´Âµ¥<br/><br/>¾îµð¼­ ¼³Á¤À» ÇØÁÖ³ª¿ä?<br/><br/>You don&#039;t have permission to access /myadmin/ on this server.]]></description>
<dc:creator>²¤µ¿º¡</dc:creator>
<dc:date>Thu, 20 Jun 2013 00:21:29 +0900</dc:date>
</item>
<item>
<title>mysql system error: 113¿¡ ´ëÇØ¼­...</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198046</link>
<description><![CDATA[mysql_connect(): Lost connection to MySQL server at &#039;reading initial communication packet&#039;, system error: 113<br/>ÀÌ Ã³À½ mysql¸¦ ¼³Ä¡ÇÏ°í³ª¼­´Â ¾È³ª´Ù°¡ ¾î´À ¼ø°£ºÎÅÍ Á¢¼Ó·®ÀÌ ¸¹¾Æ Áú°æ¿ì À§ ¿¡·¯°¡ ³ª¿É´Ï´Ù.<br/><br/>ÀÌ ¿¡·¯°¡ ³ª¿À°í ¿ÏÀüÈ÷ connect°¡ ¾ÈµÇ´Â°Ç ¾Æ´Ï±¸¿ä..´Ù½Ã connectµÇ¾ú´Ù°¡ ¾ÈµÇ¾ú´Ù°¡ ÇÕ´Ï´Ù.<br/><br/>½Ã½ºÅÛ »ç¾çÀº centos 64ºñÆ®ÀÌ°í mysql 5.1.69¹öÀüÀÔ´Ï´Ù.<br/>OS¸Þ¸ð¸®´Â 48±â°¡ÀÔ´Ï´Ù.<br/>my.cnf¼³Á¤ ÆÄÀÏÀº<br/>skip-name-resolve<br/>skip-locking<br/>max_allowed_packet = 2G<br/>key_buffer_size = 4G<br/>table_open_cache = 4096<br/>sort_buffer_size = 512M<br/>join_buffer_size = 512M<br/>net_buffer_length = 256K<br/>read_buffer_size = 512M<br/>read_rnd_buffer_size = 512M<br/>myisam_sort_buffer_size = 512M<br/>myisam_max_sort_file_size = 512M<br/>myisam_max_extra_sort_file_size = 512M<br/>myisam_repair_threads = 1<br/>thread_cache_size = 32<br/>query_cache_size = 256M<br/>thread_concurrency = 8<br/>max_connections = 1000<br/>wait_timeout = 5<br/>log-slow-queries = mysql_slow.log<br/>long_query_time = 3<br/>ÀÔ´Ï´Ù.<br/><br/>mysqlÀº ÀÌÇÃ¸®ÄÉÀÌ¼ÇÀ¸·Î ¿î¿µµÇ°í ÀÕ½À´Ï´Ù<br/>ÇöÀç ÀÌ¼­¹ö´Â master±¸¿ä...slave¼­¹ö´Â ±×³É ¹é¾÷¿ëÀ¸·Î »ç¿ëÇÏ°í ÀÕ½À´Ï´Ù..<br/>Ã·¿¡´Â ºÐ»êÀÌÀ¯·Î ¸¸µé¾ú´Âµ¥¿ä..slave¿¡·¯¶§¹®¿¡ ÀÚ²Ù ÁßÁöµÇ¾î¼­ ±×¶§ºÎÅÍ Á» È®½ÅÀÌ ¾È ³ª¼­ ±×³É ÀÏ´ÜÀº <br/>¹é¾÷¿ëÀ¸·Î »ç¿ëÇÏ°í ÀÖ½À´Ï´Ù.<br/><br/>Ã³À½ ¼³Ä¡ÇÏ°í ³ª¼­ ¸Þ¸ð¸® »ç¿ë·®Àº 48±â°¡Áß¿¡ 19±â°¡Á¤µµ¿´´Âµ¥¿ä( ÃÖ°íÄ¡°¡ 19±â°¡ Á¤µµ¿´½À´Ï´Ù)<br/>ÇÑ ¸çÄ¥Áö³ª°í ³ª¼­(Á¤È®È÷´Â ¸ð¸£°Ú½À´Ï´Ù º° ¹®Á¦ ¾ø¾î¼­ ½Å°æ¾È ¾²°í ÀÖ¾î¼­¿ä) 48±â°¡Áß¿¡ 33±â°¡Á¤µµ <br/>»ç¿ëÇÏ°í ÀÖ½À´Ï´Ù.<br/>max_allowed_packet = 2G ÀÌ ºÎºÐÀÇ ÇÒ´ç·®ÀÌ ÀÛÀº°¡¿ä? ÀÌ°É ´õ ³ô¿©µµ µÉ·±Áö...???<br/><br/>±×¸®°í ¾Æ ¿øÀÎÀÌ Á¤È®È÷ ¹ºÁö ¸ð¸£°Ù½À´Ï´Ù. °©ÀÚ±â ¸Þ¸ð¸®»ç¿ë·®µµ ¿Ã¶ó°£ ÀÌÀ¯µµ ¸ð¸£°Ú±¸¿ä...<br/><br/>¹¹ ´õ ÇÊ¿äÇÑ Á¤º¸°¡ ÀÖÀ¸½Ã¸é ¸»¾¸ÇØ ÁÖ½Ã¸é ¾Ë·Áµå¸®°Ú½À´Ï´Ù.<br/><br/>±×·³ Áñ°Å¿î Àú³áµÇ¼¼¿ä~~]]></description>
<dc:creator>°ø¹«¿ø°øºÎ10³âÂ÷</dc:creator>
<dc:date>Wed, 19 Jun 2013 19:03:01 +0900</dc:date>
</item>
<item>
<title>ÆäÀÌÁö¿¡ Ãâ·Â</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198045</link>
<description><![CDATA[ÃÊº¸ÀÔ´Ï´Ù. Â¥±é±â ³ë°¡´Ù·Î ÀÛ¾÷À» ÇÏ´Ù°¡ ³­°ü¿¡ ºÎµúÇô ¹®ÀÇ µå¸³´Ï´Ù.<br/><br/>sql Å×ÀÌºí¿¡ ÀÖ´Â id1°ª ¶Ç´Â id2 °ªÀÌ °°À» °æ¿ì, ÇØ´ç ÆäÀÌÁö¿¡¼­ ÇØ´ç count¸¦ ÆäÀÌÁö¿¡ ³ëÃâÇÏ·Á°í ÇÕ´Ï´Ù.<br/><br/>id1&nbsp;  id2&nbsp;  count&nbsp; ... <br/>100&nbsp; aaa&nbsp;  120&nbsp; &nbsp; .. <br/><br/>ÆäÀÌÁö¿¡ id1 °ª 100 ¶Ç´Â id2 °ªÀÌ ÇöÀç ÆäÀÌÁö ÁÖ¼Ò¿Í °°À»¶§ (¿¹-µµ¸ÞÀÎ.com/100 ¶Ç´Â µµ¸ÞÀÎ.com/aaa ÀÏ¶§) 120 Ä«¿îÆ®¸¦ º¸¿©ÁÖ·Á°í ÇÕ´Ï´Ù.<br/><br/>idÀº Ç×»ó Á¸ÀçÇÏ°í, id2 °ªÀº ÀÖ°Å³ª ¾ø´Â °æ¿ì°¡ ÀÖ½À´Ï´Ù.<br/><br/>ÃÊº¸ÀÔ´Ï´Ù. ÃÊº¸°¡ ÀÌÇØÇÒ ¼ö ÀÖ´Â ´äº¯°ú ¼³¸í ±â´Ù¸®°Ú½À´Ï´Ù. (__)]]></description>
<dc:creator>ÃÊº¸ÀÌ</dc:creator>
<dc:date>Wed, 19 Jun 2013 15:42:52 +0900</dc:date>
</item>
<item>
<title>latin1 DB¿¡ utf8 ÆäÀÌÁö·Î Á¢±ÙÀÌ ¾ÈµË´Ï´Ù...</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198044</link>
<description><![CDATA[DB´Â latin1ÀÌ°í, sql ÆÄÀÏÀº utf8·Î ÀÛ¼ºµÇ¾ú½À´Ï´Ù. <br/>È¸»ç »çÁ¤»ó... DB charsetÀ» utf8·Î ¹Ù²Ü ¼ö´Â ¾ø´Â »óÅÂÀÔ´Ï´Ù. <br/><br/>¾Æ·¡ ¼Ò½º¿¡¼­ echo $sqlÀ» ÇÏ¸é <br/>À¥ ÆäÀÌÁö¿¡¼­´Â SELECT count(*) FROM ServiceArea WHERE area_1=&#039;¼­¿ï&#039; order by seq desc <br/>ÀÌ¶ó°í Àß ³ª¿À´Âµ¥, <br/>Total : ¿¡¼­´Â ¾Æ¹«·± °ªÀÌ ÂïÇô ³ª¿ÀÁö ¾Ê½À´Ï´Ù. <br/>ÅÍ¹Ì³Î·Î µé¾î°¡¼­ À§ sql¹®À» º¹»çÇØ¼­ ³Ö¾îº¸¸é total°ªÀÌ ³ª¿À°í¿ä... <br/><br/>¾î¶»°Ô... ÇÏ¸é µÇ´ÂÁö ¾Ë·ÁÁÖ½Ã¸é... ³ªÁß¿¡ ²À~ µµ¿òÀÌ µÇ°Ú½À´Ï´Ù. °¨»çÇÕ´Ï´Ù.]]></description>
<dc:creator>¿øÁ¶µ¹¸ÍÀÌ</dc:creator>
<dc:date>Wed, 19 Jun 2013 15:39:23 +0900</dc:date>
</item>
<item>
<title>mysql ¸Þ¸ð¸® »ç¿ë·® ¹®ÀÇ</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198042</link>
<description><![CDATA[¡Ø Q&A´Â Áú¹®¿¡ µû¸¥ ´äº¯À» ¹Þ´Â °÷ÀÌÁö ÀÇ·Ú¸¦ ÇÏ´Â °÷ÀÌ ¾Æ´Õ´Ï´Ù.<br/>&nbsp; &nbsp; °úÁ¦ÇØ°á ¶Ç´Â ¼Ò½º¸¦ Â¥´Þ¶ó°í ºÎÅ¹ÇÏ°Å³ª ´äº¯ÀÚ¿¡°Ô ¸·¸»ÇÒ °æ¿ì °èÁ¤ ºí·°Ã³¸® ÇÕ´Ï´Ù.<br/><br/>ÇöÀç mysql-5.5.28 À» »ç¿ëÁß¿¡ ÀÖ½À´Ï´Ù.<br/>·Î±×DB¿ëÀ¸·Î »ç¿ëÇÏ´Â Àåºñ ÀÎµ¥...¹°¸®Àû ¸Þ¸ð¸®´Â 8G ÀÌ°í <br/>innodb_buffer_pool_size = 4G ÇÒ´çÇß½À´Ï´Ù.<br/><br/>innodb¿£ÁøÀÌ±¸¿ä.<br/>innodb_data_file_path = ibdata1:3G;ibdata2:3G;ibdata3:3G;ibdata4:3G;ibdata5:3G;ibdata6:3G;ibdata7:3G;ibdata8:3G;ibdata9:3G;ibdata10:3G:autoextend<br/>ÀÌ·¸°Ô Àâ¾Ò´Âµ¥..<br/>µ¥ÀÌÅ¸°¡ ¸¹¾Æ¼­ ibdata10 ÀÌ ÇöÀç 33GÀÔ´Ï´Ù.<br/>»õº®½Ã°£´ë¿¡ Master µðºñÀÇ µ¥ÀÌÅ¸¸¦ Àü¼Û¹Þ¾Æ ÀÌ Àåºñ¿¡ Data¸¦ ÀÔ·ÂÇÏ´Â ÇÕ´Ï´Ù.<br/>select Äõ¸®µµ Åë°èÅøÀ» º¼¶§¸¸ ÀÏ¾î³ª°í ÇÑ ½Ã°£¿¡ ÇÑ µÎ¹ø Á÷¿øµéÀÌ È®ÀÎ ÇÏ´Â DBÀÔ´Ï´Ù.<br/>¹®Á¦´Â ÀÌ ÀåºñÀÇ ¸Þ¸ð¸® »ç¿ë·üÀÌ 60%»ç¿ëÇÏ°í ÀÖ´Ù°í ³ª¿À³×¿ä.<br/>Ã³À½ ¼­ºñ½ºÇÒ¶§´Â 13%¿´´Âµ¥ Data°¡ ´Ã¾î³ª¸é¼­ ÇöÀç ¸Þ¸ð¸®¸¦ 60%±îÁö »ç¿ëÇÑ´Ù°í TopÀÌ³ª ¸Þ¸ð¸® »ç¿ë·®À» º¸¸é ³ª¿É´Ï´Ù.<br/>Data°¡ ¸¹¾ÆÁö¸é ¸Þ¸ð¸®¸¦ Áõ¼³ÇØ¾ß µÇ´Â °ÇÁö ¾Æ´Ô ´Ù¸¥ ÇØ°á ¹æ¹ýÀÌ ÀÖ´ÂÁö¿ä?]]></description>
<dc:creator>imshari</dc:creator>
<dc:date>Wed, 19 Jun 2013 11:16:36 +0900</dc:date>
</item>
<item>
<title>°Ô½Ã¹°ÀÌ »è.Á¦. µÇ¾ú½À´Ï´Ù.</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198040</link>
<description><![CDATA[ÀÌ °Ô½Ã¹°Àº VANDyke´Ô¿¡ ÀÇÇØ 2013-06-19 14:17:15 ¿¡ »è.Á¦.µÇ¾ú½À´Ï´Ù.]]></description>
<dc:creator>VANDyke</dc:creator>
<dc:date>Wed, 19 Jun 2013 09:39:23 +0900</dc:date>
</item>
<item>
<title>Ä®·³¿¡¼­ Æ¯Á¤ ¹®ÀÚ¿­À» Ä¡È¯ ÇÏ´Â´ë, ÀÌ°É ÀüÃ¼ db Å×ÀÌºí ¿¡¼­ °Ë»öÇØ¼­ ÇÏ´Â¹æ¹ý ¾øÀ»±î¿ä?</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198036</link>
<description><![CDATA[¡Ø Q&A´Â Áú¹®¿¡ µû¸¥ ´äº¯À» ¹Þ´Â °÷ÀÌÁö ÀÇ·Ú¸¦ ÇÏ´Â °÷ÀÌ ¾Æ´Õ´Ï´Ù.<br/>&nbsp; &nbsp; °úÁ¦ÇØ°á ¶Ç´Â ¼Ò½º¸¦ Â¥´Þ¶ó°í ºÎÅ¹ÇÏ°Å³ª ´äº¯ÀÚ¿¡°Ô ¸·¸»ÇÒ °æ¿ì °èÁ¤ ºí·°Ã³¸® ÇÕ´Ï´Ù.<br/><br/><br/>»çÀÌÆ® ÀÌÀüÀ¸·Î ÀÌ·¸°Ô sql Äõ¸®¸¦ ³¯·È½À´Ï´ç. <br/><br/><br/>update xe_documents set content=replace(content,&#039;A.com&#039;,&#039;B.com&#039;)<br/><br/><br/>ÀÌ·¸°Ô ÇÏ¸é documents ºÎºÐ¿¡ ÀÖ´Â°Í¸¸ ¹Ù²î´Â´ë,&nbsp; Ä®·³ÀÌ xe_ a ~ z ±îÁö »ý°¢º¸´Ù ¸¹ÀÜ¾Æ¿ë ¤¾¤¾;<br/><br/>±×·¡¼­ ¾Æ¿¹ table ÀüÃ¼¸¦ °Ë»öÇØ¼­ ÇÑ¹æ¿¡ ÀüÈ¯ÇÏ°í ½ÍÀº´ë, ¾î¶»°Ô ÇÏ¸é ÁÁÀ»±î¿ä T_T<br/>-]]></description>
<dc:creator>´©¶õÁö¼¼</dc:creator>
<dc:date>Wed, 19 Jun 2013 05:49:41 +0900</dc:date>
</item>
<item>
<title>¼Ò¼ÈÄ¿¸Ó½ºDB ¸¦ °¡Áö°í ÀÖ´Âµ¥¿ä..´Ù½Ã°¡µ¿ÇÏ¿©..</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198032</link>
<description><![CDATA[¡Ø Q&A´Â Áú¹®¿¡ µû¸¥ ´äº¯À» ¹Þ´Â °÷ÀÌÁö ÀÇ·Ú¸¦ ÇÏ´Â °÷ÀÌ ¾Æ´Õ´Ï´Ù.<br/>&nbsp; &nbsp; °úÁ¦ÇØ°á ¶Ç´Â ¼Ò½º¸¦ Â¥´Þ¶ó°í ºÎÅ¹ÇÏ°Å³ª ´äº¯ÀÚ¿¡°Ô ¸·¸»ÇÒ °æ¿ì °èÁ¤ ºí·°Ã³¸® ÇÕ´Ï´Ù.<br/><br/>ÀÌ¹ÌÁö º¸½Ã¸é¼­ ^^<br/>Á¦°¡ ¼Ò¼ÈÄ¿¸Ó½º ¼Ö·ç¼ÇÀ» (ÀÚÃ¼°³¹ßÇÑ ¼Ö·ç¼Ç) ¸ÅÀÔÀ» Çß½À´Ï´Ù<br/>±×·±µ¥ ¹ÞÀº ÀÚ·á´Â ¾ÐÃàÀÌµÇ¾î HDD ¿¡ ÀúÀåÈÄ Àú¿¡°Ô ¿Ô½À´Ï´Ù,,,<br/>(¾Æ·¡±×¸²ÂüÁ¶..)<br/>ÀÌ°Í°¡Áö°í ¼Ö·ç¼Ç °¡µ¿ÇÒ¼öÀÖÀ»Áö¿ä? ÀÚ·á°¡ ºÎÁ·ÇÑ°¡¿ä...¤Ñ¤Ñ;<br/>°¡µ¿À» ÇÑ´Ù¸é ¾î¶»°Ô ÁØºñÇØ¾ß ¼Ò¼ÈÄ¿¸Ó½º°¡ °¡µ¿ÀÌ µÉ±î¿ä?]]></description>
<dc:creator>ÄíÆùÁö</dc:creator>
<dc:date>Tue, 18 Jun 2013 19:28:02 +0900</dc:date>
</item>
<item>
<title>ÇÑÂÊ Å×ÀÌºí °ªÀ» Á¶°Ç¿¡ µû¶ó ´Ù¸¥ ÇÑÂÊ Å×ÀÌºí¿¡ ÀÔ·ÂÇÒ·Á°í ÇÏ´Âµ¥</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198031</link>
<description><![CDATA[Å×ÀÌºíÀÌ 2°³°¡ ÀÖ½À´Ï´Ù<br/>ÇÑÂÊ Å×ÀÌºí¿¡ Æ¯Á¤ °ªÀÌ °è¼Ó µé¾î°¡°í ÀÖ°í<br/>´Ù¸¥ ÇÑÂÊÀº ÇöÀç ºñ¿öÀÖ´Â »óÅÂ ÀÔ´Ï´Ù<br/>±×³É SELECT¸¦ ÇØ¼­ ±× °ªÀ» ºÒ·¯³Ö´Â°Å¶ó¸é ½±°Ô ÇÏ°Ú´Âµ¥<br/>status ¶ó´Â Ä®·³¿¡ START SKIP END ÀÌ·±½ÄÀ¸·Î °ªÀÌ µé¾î°©´Ï´Ù<br/>status ¸¦ GROUP BY ÇØ¼­ START, SKIP, END °¡ ¸î°³ÀÎÁö¸¦ Ä«¿îÆ®ÇØ¼­<br/>´Ù¸¥ Å×ÀÌºí¿¡ START_CNT, SKIP_CNT, END_CNT Ä®·³¿¡ ³ÖÀ»·Á°í ÇÏ´Âµ¥<br/>¾î¶² ½ÄÀ¸·Î ÇØ¾ßµÉÁö °¨ÀÌ ÀâÈ÷Áú ¾Ê³×¿ä..]]></description>
<dc:creator>TheLastLeaf</dc:creator>
<dc:date>Tue, 18 Jun 2013 18:57:07 +0900</dc:date>
</item>
<item>
<title>mysql ½ºÅä¾îµå ÇÁ·Î½ÃÁ® Áú¹®Á» µå¸±°Ô¿ä.</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198030</link>
<description><![CDATA[¡Ø Q&A´Â Áú¹®¿¡ µû¸¥ ´äº¯À» ¹Þ´Â °÷ÀÌÁö ÀÇ·Ú¸¦ ÇÏ´Â °÷ÀÌ ¾Æ´Õ´Ï´Ù.<br/>&nbsp; &nbsp; °úÁ¦ÇØ°á ¶Ç´Â ¼Ò½º¸¦ Â¥´Þ¶ó°í ºÎÅ¹ÇÏ°Å³ª ´äº¯ÀÚ¿¡°Ô ¸·¸»ÇÒ °æ¿ì °èÁ¤ ºí·°Ã³¸® ÇÕ´Ï´Ù.<br/><br/><br/>½ºÅä¾îµåÇÁ·Î½ÃÁ®·Î µ¥ÀÌÅÍ »èÁ¦¿¡ °üÇÑ ³»¿ëÀ» ¸¸µé¾îº¸·Á°í ÇÕ´Ï´Ù.<br/>¿¹¸¦µé¾î ½Ã°£º°·Î ¿©·¯°³¾¿ ½×ÀÌ´Âµ¥ÀÌÅÍ Å×ÀÌºíÀÌ ÀÖ´Âµ¥<br/>Æ¯Á¤³¯Â¥...¿¹¸¦µé¸é ÇöÀç·ÎºÎÅÍ 5ÀÏÀüÀÇ µ¥ÀÌÅÍ´Â »èÁ¦ÇÏ´Â ÇÁ·Î½ÃÁ®¸¦ ¸¸µé°í ½Í½À´Ï´Ù.<br/><br/>¸¸µå´Â¹æ¹ýÀÌ³ª Àû¿ë½ÃÅ°´Â ¹æ¹ýÀº °øºÎÇØ¼­ ÇØ°áÀÌ µÇ´Âµ¥<br/>±×¾È¿¡ ¹®±¸¸¦ ¾î¶»°Ô ÇØ¾ßÇÒÁö Àß ¸ð¸£°Ú½À´Ï´ç.¤Ð¤Ð<br/><br/>µµ¿ò ¿äÃ»µå¸³´Ï´Ù.]]></description>
<dc:creator>LittleBomb</dc:creator>
<dc:date>Tue, 18 Jun 2013 18:06:30 +0900</dc:date>
</item>
<item>
<title>È¤½Ã mssql ¿¡¼­ Æ¯Á¤ µ¥ÀÌÅÍ update µÉ¶§ ¾î¶² ÆäÀÌÁö¿¡¼­ ¿äÃ»µé¾î¿Ô´ÂÁö Ã¼Å©ÇÏ´Â¹æ¹ý ÀÖÀ»±î¿ä ?</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198027</link>
<description><![CDATA[mssql 2008 r2 »ç¿ëÁßÀÔ´Ï´Ù. <br/><br/>ÇÁ·ÐÆ®ÆäÀÌÁö°¡ ÀÖ°í ³»ºÎÀûÀ¸·Î erp °¡ ÀÖ´Âµ¥ <br/><br/>Æ¯Á¤ ·¹ÄÚµå°¡ ÀÚ²Ù ¼öÁ¤ÀÌ µÇ¾î°¡Áö°í ¿À·ù°¡ ³ª³×¿ä ¤Ð<br/><br/>Á¦°¡ Á¢±ÙÇÒ¼ö ÀÖ´Â ¼Ò½º´Â ÇÁ·ÐÆ® ÂÊÀÌ°í erp ´Â ±ÇÇÑÀ» ¾ÈÁÖ´Âµ¥ <br/><br/>ÇÁ·ÐÆ®ÂÊ ¼Ò½º¿¡¼­ ¼öÁ¤µÇ´Â Å×ÀÌºí¸íÀ¸·Î update ÇÏ´Â ºÎºÐÀº ¾ø°í, ÇÁ·Î½ÃÀúµµ ¾ø½À´Ï´Ù. <br/><br/>¾Æ¹«¸®ºÁµµ erp ÂÊ¿¡¼­ update Äõ¸® ³¯¸®´Â°Å °°Àºµ¥ ÀÚ±âµéÀº ÀÚ²Ù ¾Æ´Ï¶ó°í ÇÏ´Ï±î ´ä´äÇÏ³×¿ä. <br/><br/>DBÂÊ¿¡¼­ ¾î¶² ÆäÀÌÁö¿¡¼­ Á¢±ÙÇß´ÂÁö ·Î±×¸¦ º¼¼ö ÀÖ´Â ±â´ÉÀÌ ÀÖÀ¸¸é ¾îµð°¡ ¹®Á¦ÀÎÁö µü ¾Ë°Å°°¾Æ¼­¿ä. <br/><br/><br/>ÀÌ°ÍÀú°Í Ã£¾Æº¸°í ÀÖ´Âµ¥ DB ¼­¹öµµ Á¦¸¾´ë·Î ¸¸Áö±â¿£ Å¸»çÀÌÆ®µéÀÌ ³Ê¹« ¸¹ÀÌ ¹­¿©ÀÖ¾î¼­ <br/><br/>È®½ÇÇÑ ¹æ¹ýÀ¸·Î ÀÛ¾÷ÇÏ·Á°í Áú¹® ¿Ã¸³´Ï´Ù. <br/><br/>È¤½Ã ±×·± ¹æ¹ý ¾Æ½Ã´ÂºÐ ´äº¯ ºÎÅ¹µå¸³´Ï´Ù. <br/><br/>º¹ÀâÇÏ¸é ÇØ´ç ±â´É(?) ¿¡ °üÇÑ °Ë»ö¾î¶óµµ ÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù. <br/><br/>Áñ°Å¿î ÇÏ·ç µÇ¼¼¿ä ~]]></description>
<dc:creator>bellstar</dc:creator>
<dc:date>Tue, 18 Jun 2013 14:57:41 +0900</dc:date>
</item>
<item>
<title>mysql ÄÜ¼ÖÃ¢¿¡¼­ ÇÑ±ÛÀÌ ±úÁö³×¿ä</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198023</link>
<description><![CDATA[À©µµ¿ì ÄÜ¼ÖÃ¢¿¡¼­ mysql¿¡ Á¢¼ÓÇØ¼­ Äõ¸®¸¦ ³¯¸®¸é ÇÑ±ÛÀÌ ±úÁ®³ª¿É´Ï´Ù.<br/><br/>mysql&gt; show variables like &#039;c%&#039;;<br/>+--------------------------+---------------------------------------------------------+<br/>| Variable_name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Value&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  |<br/>+--------------------------+---------------------------------------------------------+<br/>| character_set_client&nbsp; &nbsp;  | utf8&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>| character_set_connection | utf8&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>| character_set_database&nbsp;  | utf8&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>| character_set_filesystem | binary&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>| character_set_results&nbsp; &nbsp; | euckr&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  |<br/>| character_set_server&nbsp; &nbsp;  | utf8&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>| character_set_system&nbsp; &nbsp;  | utf8&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>| character_sets_dir&nbsp; &nbsp; &nbsp;  | C:\Program Files\MySQL\MySQL Server 5.5\share\charsets\ |<br/>| collation_connection&nbsp; &nbsp;  | utf8_general_ci&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  |<br/>| collation_database&nbsp; &nbsp; &nbsp;  | utf8_general_ci&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  |<br/>| collation_server&nbsp; &nbsp; &nbsp; &nbsp;  | utf8_general_ci&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  |<br/>| completion_type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | NO_CHAIN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>| concurrent_insert&nbsp; &nbsp; &nbsp; &nbsp; | AUTO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>| connect_timeout&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 10&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br/>+--------------------------+---------------------------------------------------------+<br/><br/><br/>my.ini¿¡¼­<br/><br/>[mysql]<br/>default-character-set=utf8<br/><br/>¼³Á¤ÇØÁà¼­ ÀÌ·¸°Ô ³ª¿À´Â°Í °°Àºµ¥<br/><br/>ÄÜ¼ÖÃ¢¿¡¼­&nbsp; <br/>SET character_set_results=euckr<br/>¸í·É¾î¸¦ ³¯·ÁÁÖ¸é ÇÑ±ÛÀÌ Á¦´ë·Î Àß ³ª¿À±ä ÇÕ´Ï´Ù¸¸..<br/><br/>mysqlÀ» ³ª°¬´Ù°¡ ´Ù½Ã µé¾î°¡¸é ¿ø·¡´ë·Î ±úÁ®¼­ ³ª¿À´õ¶ó±¸¿ä.<br/><br/>Á¦ »ý°¢¿£ my.ini¿¡¼­ ¼³Á¤ÇØÁà¾ß ÇÒ°Í°°Àºµ¥<br/><br/>init_connect="SET character_set_results=euckr"<br/>character_set_results=euckr<br/>¶ó°í ³Ö¾îµµ ¾ÈµÇ°í...<br/><br/>Ã£´Ù°¡ ¸øÃ£¾Æ¼­ ¿©ÂÞ¾îº¾´Ï´Ù.<br/>´ñ±Û ±â´Ù¸®°Ú½À´Ï´Ù.]]></description>
<dc:creator>ÀÌµ¿½Äµð½ºÅ©</dc:creator>
<dc:date>Tue, 18 Jun 2013 14:13:31 +0900</dc:date>
</item>
<item>
<title>' Ç¥½Ã ÀÔ·Â½Ã \' ÀÌ·¸°Ô DB ÀÔ·Â µË´Ï´Ù.</title>
<link>http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&amp;wr_id=198022</link>
<description><![CDATA[±âÁ¸¿¡ »ç¿ëÇÏ´ø È¨ÆäÀÌÁö¸¦ °°Àº È¯°æ ¼­¹ö (DB:mysql) À¸·Î ÀÌÀü ÇÏ¿´½À´Ï´Ù.<br/>±×·±µ¥ ÀÌÀüµÈ ¼­¹ö¿¡¼­ &#039;Ç¥½Ã¸¦ ÀÔ·ÂÇØ¼­ ±ÛÀ» ¾²¸é.. <br/>\&#039; ÀÌ·±½ÄÀ¸·Î ÀÚµ¿ ÀÔ·ÂÀÌ µÇ°í(ÀÌÀü ¼­¹ö¿¡¼­´Â ±×³É &#039;Ç¥½Ã·Î ÀúÀåµÇ¾ú´Âµ¥¿ä.)<br/>±Û ³»¿ëÀ» DB¿¡¼­ °¡Á®¿Í¼­ º¸¿©Áö¸é ´ç¿¬È÷ \&#039;ÀÌ·¸°Ô ³ª¿É´Ï´Ù.<br/><br/>¼­¹ö ¼³Á¤À» ¼öÁ¤ÇØ¾ß ÇÏ³ª¿ä? ±×·¯¸é ¾î´À ºÎºÐÀ» ¼öÁ¤ÇØ¾ß ÇÏ³ª¿ä??<br/>¾Æ´Ï¸é, DB ¹öÀüÀ» ´Ù¸£°Ô ÇØ¾ß ÇÏ³ª¿ä? <br/>(DB ¹öÀüÀº Á¦°¡ ¹Ì¸® ¾Ë·Áµå·Á¼­ °°Àº ¹öÀüÀÎµ¥¿ä.)<br/><br/>´äº¯ Á» ºÎÅ¹ µå¸³´Ï´Ù.]]></description>
<dc:creator>¼­ÅÂÁö¾ä</dc:creator>
<dc:date>Tue, 18 Jun 2013 14:10:54 +0900</dc:date>
</item>
</channel>
</rss>
