Mini SQL 2.0
Database Management System
1997³â 11¿ù ¸®´ª½º¿ùµå¿¡¼ ¹ßÃéÇÑ
³»¿ëÀÔ´Ï´Ù.
´Ù¸¥ °÷¿¡ »ç¿ëÇÏ½Ç ¶§´Â ºÐ¸íÈ÷ ¸®´ª½º¿ùµåÀÇ ±â»çÀÓÀ» ¹àÇôÁֽʽÿÀ
±è°æÈ£/ÀÚÀ¯±â°í°¡ zesus@edunet.nmc.nm.kr
ÀÎÅÍ³Ý ! ¿ì¸®µéÀº ´ëºÎºÐÀ» ÀÎÅͳݿ¡ Á¥¾î »ì°í ÀÖ´Ù. ÀÎÅͳݿ¡¼ ¸ðµç Á¤º¸°¡ ¾ò´Â ½Ã´ë°¡ ¹Ù·Î Áö±Ý ¿ì¸®°¡ »ì°í ÀÖ´Â ½Ã´ëÀÌ´Ù ÀÏ»ó»ýÈ°¿¡¼ ½±°Ô ¿ì¸®´Â ÀÌ·¯ÇÑ ¿¹¸¦ Á¢ÇÒ¼ö ÀÖ´Ù ÀÏ·Ê·Î ÀαâÅÚ·¹ºñÁ¯ ¹æ¼Û ÇÁ·Î±×·¥¿¡¼ ¼³¹® Á¶»ç¸¦ À§ÇÏ¿© ÀÎÅÍ³Ý ÁÖ¼Ò¿Í ´ëÇü ºñºñ¿¡½ºÀÇ À̸§À» ¿ì¸®´Â ½±°Ô µéÀ»¼ö ÀÕ´Ù ¶ÇÇÑ ÀÎÅͳÝÀ» ÁÖÁ¦·Î CF°¡ ¸¸µé¾îÁö°í ±â¾÷À̹ÌÁö±¤°í¿¡¼µµ ±â¾÷ ÀÎÅÍ³Ý ÁÖ¼Ò¸¦ ÇÔ²² ±¤°íÇÏ¿© ¼±Àü¿¡ È¿°ú¸¦ °ÅµÎ°í ÀÖÀ¸¸ç , Á÷ÀåÀεéÀº ÀÚ½ÅÀÇ ÀÎÅÍ³Ý ÀüÀÚ¸ÞÀÏÁÖ¼Ò¿Í È¸»çÀÇ È¨ÆäÀÌÁö ÁÖ¼Ò¸¦ ÇÔ²² ¸íÇÔ¿¡ »õ±â´Â °ÍµéÀ» º¼¼ö ÀÖÀ» °ÍÀÌ´Ù ÀÌÁ¦´Â ´©±¸³ª ½±°Ô ÀÎÅͳݿ¡ Á¢±ÙÇÒ¼ö ÀÖÀ¸¸ç ÀÎÅͳÝÀ» ÅëÇÏ¿© Á¤º¸¸¦ ÁÖ°í ¹Þ´Â °ÍÀÌ Æí¸®ÇÏ°í ½Å¼ÓÇÏ°Ô Ã³¸®°¡ µÇ±â ¶§¹®¿¡ ÀÏ»ó»ýÈ°ÀÇ ÀϺκÐÀÌ µÇ¾î°¡°í ÀÖ´Ù.
ÀÌ·¸µí ÀÏ»ó»ýÈ°¿¡¼´Â ¸¹Àº Á¾·ùÀÇ Á¤º¸µéÀÌ ¹ß»ýÇÏ°Ô µÇ°í µ¥ÀÌÅ͵éÀº ±× Çʿ伺¿¡ µû¶ó¼ ¸Å¿ì ºü¸£°Ô ȤÀº ¸Å¿ì ¸¹Àº ¾çÀ¸·Î À̵¿À» ÇÏ°Ô µÈ´Ù. ÀÌ·¯ÇÑ µ¥ÀÌÅÍ Áß¿¡¼ ÇϳªÇϳª ±× µ¥ÀÌÅÍ µéÀ» ±× Àǹ̰¡ ¾ø´Â °ÍÀÌ ´ëºÎºÐÀÌ´Ù. ÇÏÁö¸¸ ÇϳªÀÇ µ¥ÀÌÅÍ µéÀ̸𿩼 ±× ¾çÀÌ ¸¹¾ÆÁö°Ô µÈ´Ù¸é ±× Àǹ̴ ¸Å¿ì ´Þ¶óÁú¼ö ÀÕ´Ù. ±× Á¤º¸¸¦ ¾î¶»°Ô »ç¿ëÇÏ°í ¾îµð¿¡ Àû¿ëÇÒ °ÍÀÎÁö Á¤È®ÇÏ°Ô ÆÇ´ÜÇÒ¼ö ÀÖ´Ù¸é , ±× µ¥ÀÌÅ͵éÀº ´õ ÀÌ»ó µ¥ÀÌÅÍ°¡ ¾Æ´Ñ °ª¾îÄ¡°¡ ÀÖ´Â Á¤º¸°¡ µÉ¼ö ÀÖ´Ù ÇÏÁö¸¸, ¾î¶»°Ô ÀÌ·¯ÇÑ ¸¹Àº ¾çÀÇ µ¥ÀÌÅ͵éÀ» ÇÊ¿ä¿¡ µû¶ó¼ ºÐ·ùÇÏ°í ÀúÀåÇÒ¼ö Àְڴ°¡ ?
±×·¯±â À§Çؼ ¿ì¸®´Â ÀÌ·¯ÇÑ µ¥ÀÌÅ͵éÀ» °ü¸®ÇÒ Çʿ並 ´À³¢°Ô µÇ¾ú°í Á¡Â÷ °ü¸®¸¦ ÇØÁÙ¼ö ÀÖ´Â ÇÁ·Î±×·¥µéÀÌ »ý°Ü³ª°Ô µÇ¾ú´Ù ±×·¯¸é µ¥ÀÌÅÍ´Â ÁýÇյǾî Áß¿äÇÑ Á¤º¸°¡ µÇ°í °ð °æÁ¦ÀûÀÎ ÀÌÀÍÀÌ ¹ß»ýÇÏ´Â °ÍÀ̱⠶§¹®ÀÌ´Ù. ÀÌ·¯ÇÑ µ¥ÀÌÅÍ µéÀ» °ü¸®ÇÏ´Â ÇÁ·Î±×·¥µéÀº ¾ÆÁÖ ¸¹ÀÌ ÀÖÁö¸¸ InternetÀ» ±â¹ÝÀ¸·Î ÇÑ World Wide Web(WWW)Áß½ÉÀ¸·Î ¹ß´ÞÇÏ°í ÀÖ´Â »óȲ¿¡¼´Â ¿¹ÀüÀÇ »ç¿ëÇÏ´ø ISAM°ú °°Àº µ¥ÀÌÅÍ °ü¸® ¶óÀ̺귯¸®µéÀº ´õ ÀÌ»ó ¾µ¸ð°¡ ¾ø¾îÁö°í ÀÖ´Ù. ºÒ°ú ¸î ³â±îÁö¸¸Çصµ ´ëºÎºÐÀÇ À¯¸íÇÑ DBMSµéÀº ÀÎÅÍ³Ý WWW ÀÎÅÍÆäÀ̽º ¼Ö·ç¼ÇÀ» Áö¿øÇÏÁö ¾Ê°í ÀÖ¾ú°Å³ª ¼Ö·ç¼ÇÀ» Áö¿øÇÏ´õ¶ó°í ±â´ÉÀÌ ¹ÌÈíÇÑ ¼öÁØÀ̾ú´Ù. ±×·¯³ª ÃÖ±Ù 1.2 ³â »çÀÌ¿¡ ÀÎÅÍ³Ý ½ÃÀåÀÌ Ä¿ÁöÀÚ À¯¸í ¼ÒÇÁÆ® ¿þ¾î ȸ»çµéÀº °³¹ßÀÚµéÀ» À§ÇÏ¿© WWWÀ» Áß½ÉÀ¸·Î ÇÏ´Â µ¥ÀÌÅÍ º£À̽º ÀÎÅÍÆäÀ̽º ¼Ö·ç¼ÇÀ» °³¹ßÇϰųª ±âÁ¸ÀÇ Á¦Ç°À» º¸´Ù È®ÀåÇÏ¿© ÆǸÅÇÏ°í ÀÖ´Ù.
À¯´Ð½º °è¿¿¡¼ »ç¿ëÇÒ¼ö ÀÖ´Â µ¥ÀÌÅÍ º£À̽º °ü¸® ½Ã½ºÅÛµéÀº ´ëÇ¥ÀûÀ¸·Î ¿ì¸®°¡ ¸¹ÀÌ ¾Ë°í ÀÖ´Â ORACLEÀ̳ª Imformixµî°ú °°Àº ´ëÇü DBMSµéÀÌ ÀÖ´Ù ÇÏÁö¸¸ ºÒÇàÇÏ°Ôµµ ÀÌ·¯ÇÑ °ÍµéÀº °¡°ÝÀÌ °í°¡ÀÌ°í DBMS ÀÚüÀÇ ¿ë·®ÀÌ Å©¸ç ¸¹Àº ½Ã½ºÅÛ ¸®¼Ò½º¸¦ ÇÊ¿ä·ÎÇÏ°í Áß¼Ò±Ô¸ðÀÇ µ¥ÀÌÅ͸¦ ´Ù·ç´Âµ¥´Â ÀûÇÕÇÏÁö ¾Ê´Ù. ¶ÇÇÑ ¹«·á·Î °ø°³ÇÑ °ÍÀº ¹öÀüÀÌ ¿À·¡µÇ¾ú°Å³ª ªÀº ±â°£¿¡ ½ÀµæÇϱ⠽¬¿î DBMS°¡ ¾ø¾ú´Ù. ÀÌ·¯ÇÑÀÌÀ¯·Î Áß¼Ò±Ô¸ð ±â¾÷ü³ª °³ÀÎÀÌ ¾î´ÀÇϳª ½±°Ô ¼±ÅÃÇÒ¼ö ÀÖ´Â °ÍÀÌ ¾ø¾ú´Ù. ±×·¯³ª ÀÌ·¯ÇÑ Á¶°ÇÀ» ¸ðµÎ ¸¸Á·ÇÏ´Â µ¥ÀÌÅÍ º£À̽º °ü¸® ½Ã½ºÅÛÀ» ¿ì¸®´Â °ð ¸À º¸°Ô µÉ °ÍÀÌ´Ù.
1. mSQL ¼Ò°³
óÀ½¿¡ ÇÊÀÚ´Â °Ë»ö¿£ÁøÀ» ÅëÇÏ¿© ±Í¿©¿î °ü°èÇü µ¥ÀÌÅÍ º£À̽º ¿£ÁøÀ» ±¸ÇÏ°í ÀÖ´Â Áß¿¡ ¿ì¿¬È÷ mSQL À̶ó´Â ¾î´À ÃʶóÇÑ À¥ÆäÀÌÁö¸¦ ¹ß°ßÇÏ°Ô µÇ¾ú´Ù ±×¶§°¡ ¾Æ¸¶ 1.0.6 ¹öÀüÀÎ °ÍÀ¸·Î ±â¾ïÇÑ´Ù. mSQL Àº ¿À½ºÆ®¸®¾Æ ÀÇ Bond ´ëÇп¡¼ David.J.Hughes¶ó´Â »ç¶÷ÀÌ ¸¸µé¾ú´Ù. mSQL µ¥ÀÌÅÍ º£À̽º °ü¸® ½Ã½ºÅÛÀº ¼º´É¸é¿¡¼ º¼ ¶§¿¡´Â ÀÏ´Ü ¼Ò±Ô¸ð»ç¾çÀ» °¡Áö´Â ½Ã½ºÅÛ¿¡¼ °¡´ÉÇÑ ÀûÀº ¿À¹öÇìµå¸¦ °¡Áö°í , ¾öû³ ¼Óµµ·Î µ¥ÀÌÅͺ£À̽º¸¦ Á¢±ÙÇÑ´Ù´Â Á¡ÀÌ´Ù ºñ±³ ¼³¸íÀ»Çϸé , µ¥ÀÌÅÍ Ã³¸® ¼Óµµ´Â PostagresÀÇ 20 ¹è ºü¸£°í Ingres º¸´Ù 4¹è Á¤µµÀÇ ºü¸¥ ¼Óµµ¸¦ °¡Áö´Â ÀÚĪ ÃÊ°æ·® °ü°èÇü µ¥ÀÌÅÍ º£À̽º¿£Áø(RDBMS:Relational Database Management System) ÀÌ´Ù.
¸Þ¸ð¸®´Â °°Àº ±â´ÉÀ» ¼öÇàÇϴµ¥ ÀÖ¾î¼ Postgres´Â ÇϳªÀÇ Backend°¡ °¢°¡°¡ 1.5MBÀÇ ¸Þ¸ð¸®¸¦ »ç¿ëÇÏ¿© mSQL º¸´Ù ¸¹Àº ½Ã½ºÅÛÀÇ ¸®¼Ò½º¸¦ ÇÊ¿ä·Î ÇÑ´Ù ¹°·Ð PostgresÀÇ È®ÀåµÈ SQL Àº mSQL¿¡¼´Â ã¾Æº¼¼ö ¾ø´Â Ư¡ÀÌ´Ù .¿¹¸¦ µé¾î class¸¦ »ó¼ÓÇѴٵ簡 ÇÏ´Â °ÍÀº mSQL¿¡¼´Â ÇÒ¼ö ¾ø´Â ±â´ÉÀÌÁö¸¸ mSQL ½Ã½ºÅÛ À¯Æ¿¸®Æ¼ Áß¿¡ ÀϺθ¦ »ç¿ëÇÏ¿© Æí¸®ÇÏ°Ô À¯»çÇÑ µ¥ÀÌÅÍ º£À̽º¸¦ Á¤ÀÇÇÒ¼ö ÀÖÀ» °ÍÀÌ´Ù.
¨ç mSQL¿¡ Á¢±ÙÇÏ´Â ¹æ¹ý
mSQLÀº µÎ°¡Áö¹æ¹ýÀ¸·Î Á¢±ÙÇÏ¿© »ç¿ëÇÒ¼ö ÀÖ´Ù. ÇÑ°¡Áö´Â mSQLÀº µ¥ÀÌÅÍ º£À̽º °ü¸®¼¹ö¿Í mSQL API¸¦ ÀÌ¿ëÇÏ¿© ÀÛ¼ºµÈ ÇÁ·Î±×·¥À» ÄÄÆÄÀÏÇÏ¿© »ý¼ºµÈ clint application ÇÁ·Î±×·¥À» ½ÇÇàÇÏ¿© Á¢±ÙÇÒ¼ö ÀÖ°í ¶Ç ÇÑ°¡Áö ¹æ¹ýÀº Á÷Á¢ »ç¿ëÀÚ°¡ mSQLÀÌ Á¦°øÇÏ´Â ½Ã½ºÅÛ ÇÁ·Î±×·¥À» »ç¿ëÇÏ¿© SQL¹®À» »ç¿ëÇÏ¿© Á¢±ÙÇÒ¼ö ÀÖ´Ù. SQLÀº ANIS standard SQLÀ» Áö¿øÇÏÁö¸¸ , °ü°èÇü DBMS¿¡¼ Áö¿øÇÏ´Â View¿Í nested query´Â ¾ÆÁ÷ Áö¿ø ÇÏÁö ¸øÇÏ°í ÀÖ´Ù.
¨è mSQL ¶óÀ̼±½º
mSQL ¿¡´Â µÎ°¡ÁöÀÇ ¶óÀ̼¾½º Á¾·ù°¡ ÀÖ´Ù. Çϳª´Â »ó¾÷ÀûÀÎ ¸ñÀûÀ¸·Î mSQLÀ» »ç¿ëÇÒ °æ¿ì¿¡ Àû¿ëµÇ´Â ¶óÀ̼¾½º¿Í ¿¬±¸ ¹× ÇнÀÀ» ¸ñÀûÀ¸·Î mSQLÀ» »ç¿ëÇÏ´Â °æ¿ì¿¡ Àû¿ëµÇ´Â ¶óÀ̼±½º°¡ ÀÖ´Ù ¹°·Ð ÀÌ°ÍÀº GNU¼ÒÇÁÆ®¿þ¾îÀÇ GPL°ú °°Àº ¶óÀ̼¾½º°¡ ¾Æ´Ï±â ¶§¹®¿¡ ¼öÁ¤Çؼ»ç¿ëÇؼ´Â ¾ÈµÈ´Ù.
»ó¾÷Àû ¸ñÀûÀ¸·Î »ç¿ëÇÒ °æ¿ì¿¡´Â ¹Ýµå½Ã µî·Ï¹öÀüÀ» »ç¿ëÇؾßÇϴµ¥ mSQL Àº ¿ÏÀüÇÑ °ø°³¼ÒÇÁÆ®¿þ¾î°¡ ¾Æ´Ï±â ¶§¹®ÀÌ´Ù. mSQLÀº 14ÀÏ µ¿¾È »ç¿ëÇغ»ÈÄ µî·ÏÀ» Çϵµ·Ï ¿ä±¸ÇÏ°í´Â ÀÖ´Ù. µî·Ï¹öÀü¿¡ ´ëÇÏ¿©¼´Â ´ÙÀ½ÀÇ ÁÖ¼Ò·Î Á¢¼ÓÇؼ ¶óÀ̼±½º¸¦ ¾ò¾î¾ßÇÑ´Ù.
¾Æ¸¶µµ ¿©·¯ºÐµéÀº ¾ÆÁÖ Àû´çÇÑ °¡°ÝÀ¸·Î mSQL µ¥ÀÌÅÍ º£À̽º¸¦ ±¸ÀÔÇÒ¼ö ÀÖÀ» °ÍÀÌ´Ù. mSQLȨÆäÀÌÁö¿¡ Á¢¼ÓÀ» ÇÑÈÄ¿¡ LIcense¾ÆÀÌÄÜÀ» Ŭ¸¯ÇÏ¸é µî·Ï¿¡ °üÇÑ ¸ðµç »çÇ×À» ¾Ë¼ö ÀÖÀ» °ÍÀÌ´Ù US ´Þ¶ó¸¦ ¿ä±¸ÇÏ´Â °ÍÀ»º¸¸é ±× µ¿¾È ¸¹Àº ¼öÀÍÀ» ¾ò¾ú°í ¿©·¯³ª¶ó¿¡¼ ÁÖ¹®ÀÌ µÇ¾ú´Ù´Â °ÍÀ» ¾Ë¼ö ÀÖ´Ù. ±¹³» ȯÀ²À» ¾Ë¾Æº¸·Á¸é ¶óÀ̼´È ÆäÀÌÁö¿¡¼ ¸Ç ¹ØÀÇ ¿©·¯³ª¶ó ȯÀ²À» Àü¹®ÀûÀ¸·Î °è»êÇØ ÁÖ´Â ÆäÀÌÁö°¡ ÀÖ´Ù. ±×¸®°í ¿ì¸®´Â °¡Àå Èï¹ÌÀÖ´Â mSQLÀÇ ¶Ç ´Ù¸¥ ¶óÀ̼±½º¸¦ º¼¼ö ÀÖ´Ù. ¹«·á·Î »ç¿ëÇÒ¼ö ÀÖ´Â ¶óÀ̼±½º·Î ´ëÇп¡¼ °³ÀÎÀûÀÎÀÏÀ» Çϱâ À§ÇÏ¿© »ç¿ëÇϰųª ¿¬±¸ ¶Ç´Â °ü°èÇü µ¥ÀÌÅÍ º£À̽º¸¦ ÇнÀÇϱâ À§ÇÏ¿© »ç¿ëÇÑ´Ù¸é Free LicenseÀÇ ¹üÀ§¿¡ ¼ÓÇÏ´Â °ÍÀÌ µÇ¹Ç·Î ¹«·á·Î »ç¿ëÇÒ ¼ö ÀÖ´Ù.
¨é mSQLÀ» Á¦°øÇÏ´Â ¾ð¾îµé
mSQLÀÌ Áö¿øÇÏ´Â ¾ð´õ´Â C¸¦ À§ÇÑ APi¸¦ Áö¿øÇÏ°í Àֱ⠶§¹®¿¡ C¸¦ »ç¿ëÇÏ´Â °³¹ßÀÚ´Â, API »ç¿ë¹æ¹ýÀ» ÀÍÈ÷±â¸¸ ÇÏ¸é °ð DBMSÀ» ÀÌ¿ëÇÏ¿© ÈḢÇÑ ÇÁ·Î±×·¥À» ÀÛ¼ºÇÒ¼ö ÀÖ°í, ½ºÅ©¸³Æ® ¾ð¾î¸¦ ´ÙµÑÁÙ ¾È´Ù¸é, mSQL¿¡¼ Áö¿øÇÏ´Â "Lite" ¶ó´Â ½ºÅ©¸³Æ® ¾ð¾î·Î ÇÁ·Î±×·¥À» ÀÛ¼ºÇÒ¼ö ÀÖ´Ù., Unix ȯ°æ¸¸ Áö¿øÇÑ´Ù.Perl ¿¡ ÀÚ½ÅÀÌ ÀÖ´Ù¸é MsqlPerl·Î ÇÁ·Î±×·¥À» ÀÛ¼ºÇÒ¼ö ÀÖ´Ù. , Java ¾ð¾îµµ Áö¿øÇÏ°í Àִµ¥ ÀÎÅͳݿ¡ ¸ÞÀϸµ¸®½ºÆ®°¡ ¿î¿µÁß¿¡ ÀÖ´Ù. Java¾ð¾îÀÇ °æ¿ì ¿¡´Â MsqlJava-1.1.1À̳ª mSQL JDBC·Î mSQL¿¡ Á¢±ÙÇÏ¿© Web ApplicationÀ» ¸¸µé¼ö ÀÖ´Ù. TCL/TK¸¦ Àß ÇÑ´Ù¸é , tcl_msqlÀ» »ç¿ëÇÒ¼ö ÀÖ´Ù. ¸¶Áö¸·À¸·Î Phyton Àε¥ PhytonÀ» ÇÒ¼ö ÀÖ´Â »ç¶÷Àº º°·Î ¾øÀ¸¸®¶ó »ý°¢µÇÁö¸¸, PymSQLÀ̶ó´Â ÆÐÅ°Áö¸¦ ¾ò¾î¼ »ç¿ëÇÏ¸é µÈ´Ù Lite ½ºÅ©¸³Æ® ¾ð¾î Á¦¿ÜÇÏ°í´Â ´ëºÎºÐ Ãʱ⿡ ¸î¸î »ç¶÷ÀÌ µ¶ÀÚÀûÀ¸·Î °³¹ßÇÑ °ÍµéÀÌ´Ù ¾ð±ÞÇÑ ¸î¸î Áö¿ø ÆÐÅ°ÁöµéÀÌ mSQL 2.0¿ëÀ¸·Î ¹öÀü¾÷µÇÁö ¾Ê¾ÒÀ»Áöµµ ¸ð¸£´Ï Áö¿ø ¹öÀüÀ» ¹Ýµå½Ã È®ÀÎÇؾßÇÑ´Ù.
2. Mini SQL 2,0 ¼³Ä¡
¨ç mSQL ȨÆäÀÌÁö¿¡ Á¢¼ÓÇϱâ
Mini SQL 2.0 Àº 1997³â 7¿ù 7ÀÏ¿¡ ¸±¸®Áî°¡ µÇ¾ú´Ù ¿ì¼± mSQLȨÆäÀÌÁö¿¡ Á¢¼ÓÇÏ¿© º¸ÀÚ Á¢¼ÓÇÑÈÄ¿¡ mSQL 2.0 Release¸¦ ¼±ÅÃÇÏ¿© ´Ù¿î ¹Þ´Â´Ù. Hughes Technology ȨÆäÀÌÁö ÁÖ¼Ò´Â ´ÙÀ½°ú °°´Ù.
ȨÆäÀÌÁö¿¡ Á¢¼ÓÀ» ÇÏ°í ³ª¸é ¿¹Àüº¸´Ù. ¾ÆÁÖ Æí¸®ÇÏ°í ¿¹»Û ȨÆäÀÌÁö¸¦ º¼¼ö ÀÖ´Ù. Áß°£¿¡ º¸¸é mSQL 2.0.1À» ¼±ÀüÇÏ´Â °ÍÀ» º¼¼ö ÀÖ´Ù mSQL 2.0.1Àº 2.0 ¹öÀüÀÇ ¹ö±×¸¦ ¼öÁ¤ÇÏ¿© ´Ù½Ã ¸±¸®Áî µÇ°í ÀÖ´Ù.
mSQLÀº ´ëºÎºÐÀÇ Unix±â°è¿¡¼ ¼³Ä¡°¡ °¡´ÉÇÏ´Ù. mSQL 2.0À» ¹Þ¾Ò´Ù¸é, ¹ÞÀº ÆÄÀϸíÀÌ "msql-2.0-rel.tar.gz"ÀÎÁö È®ÀÎÇÑ´Ù mSQLÀº GNU ¼ÒÇÁÆ® ¿þ¾îÀÎ tar¿Í gzipÀÇ ¾ÐÃàÀÌ µÈ »óÅ¿¡¼¸¸ ¹èÆ÷°¡ µÇ°í ÀÖ´Ù.±×·¯¹Ç·Î ½Ã½ºÅÛÀÌ È¤½Ã tar³ª gzip¶Ç´Â gunzip°¡ ¾ø´Ù¸é °¡±î¿î GNU FTPã¾Æ¼ À̵é ÆÐÅ°ÁöµéÀ» ¹ÞÀºÈÄ¿¡ ¼³Ä¡ÇØ¾ß ¾ÐÃàÀ» Ç®¼ö ÀÖ´Ù. ȨÆäÀÌÁö¿¡¼ ³ª°¡±â Àü¿¡ Àá½Ã µÑ·¯º¸´Â °Íµµ ÁÁÀ» °Í °°´Ù.mSQLÀÌ Áö¿øÇÏ´Â ¶óÀ̺귯¸®µéÀ» Çѹø µÑ·¯º¸´Â °Íµµ ÁÁÀ» °Í °°´Ù.
¿©±â¿¡¼´Â °¢°¢ÀÇ µð·ºÅ丮¿¡ Á¢±ÙÇϸé, ¶óÀ̺귯¸® ¶Ç´Â ÇÁ·Î±×·¥ÀÌ ÀÖ°í , Ä£ÀýÇÑ ¹®¼±îÁö ÇÔ²² ÀÖ¾î¼ ÀÌ µð·ºÅ丮¿¡ ÀÖ´Â °ÍÀÌ ¹«¾ù¿¡ »ç¿ëÇÏ´ÂÁö¸¦ ½±°Ô ¾Ë¼ö ÀÖµµ·Ï µÇ¾î ÀÖ¾î¼ ¾ðÁ¦µçÁö ÀÚ½ÅÀÌ ÇÊ¿ä·Î ÇÏ´Â ¶óÀ̺귯¸®¸¦ ¾òÀ»¼ö ÀÖ´Ù.
¨è mSQL ÄÄÆÄÀÏÇϱâ
´Ù¿î ¹ÞÀº mSQLÀ» Àû´çÇÑ Àå¼Ò¿¡ º¹»çÇÑÈÄ¿¡ ¾ÐÃàÀ» ÇØÁ¦ÇÏ´Â °ÍÀÌÁÁ´Ù. ´ëºÎºÐ Àӽà µð·ºÅ丮¸¦ »ý¼ºÇؼ ±×°÷¿¡¼ ÇÏ°ÚÁö¸¸ ¿ì¸®´Â Á¶±Ý ´Ù¸£°Ô local µð·ºÅ丮¿¡¼ ÀÛ¾÷À» ÇÏ´Â °ÍÀÌÁÁ°Ù´Ù.
´ÙÀ½¸í·ÉµéÀ» command ¶óÀÎ »ó¿¡¼ ¼öÇàÇÑ´Ù. X¿¡¼ ÀÛ¾÷ÇÏ°í ÀÖ´Ù¸é hantermÀ̳ª X-termÀ» ½ÇÇàÇÏ°í Çϱ⠹ٶõ´Ù.
cp msql-2.0-rel.tar.gz/usr/local
cd/usr/local
tar -zxvf msql-2.0-rel.tar.gz
¶Ç´Â gzip -d msql-2.0-rel.tar
ÀÌ ¸í·ÉÀ» ÀÔ·ÂÇÏ¸é ´ÙÀ½°ú °°Àº µð·ºÅ丮°¡ »ý¼ºµÈ´Ù.
bash# ls -al total 22 drwxr-xr-x 7 10003 20 1024 Aug 10 21:36 drwxr-xr-x 21 root root 2048 Aug 10 21:50 -rwxr-xr-x 1 10003 20 3882 Jul 8 15:22 install -rw-r--r-- 1 10003 bin 551 Jul 8 00:08 MSQL_BOOK -rwxr-xr-x 1 10003 20 1108 Jan 6 1997 Makefile -rwxr-xr-x 1 10003 20 2930 Jul 8 15:19 README -rw-r-xr-- 1 10003 20 1806 Apr 29 07:46 README.sco -rw-r-xr-- 1 10003 20 1117 Jul 8 15:24 RELEASE_NOTES drwxr-xr-x 3 10003 20 1024 Feb 1 1997 demos drwxr-xr-x 2 10003 20 1024 Jul 8 15:36 doc drwxr-xr-x 3 10003 20 1024 Jul 8 15:01 misc drwxr-xr-x 2 10003 20 1024 Feb 1 1997 scripts drwxr-xr-x 2 10003 20 1024 Apr 10 19:12 src bash#
¸®´ª½º¿¡¼ ÀÛ¾÷À»ÇÒ °æ¿ì ¿¡´Â tar ¿É¼Ç¿¡ -z¸¦ ÇÔ²² Çϸé Æí¸®ÇÏ°Ô ÀÛ¾÷ÇÒ¼ö ÀÖ´Ù mSQLÀº make ¸í·É¿¡ ¿©·¯ °¡Áö±â°è¸¦ ÀÚµ¿À¸·Î ¾Ë¾Æ³»¾î ÀûÀýÇÑ ¼Ò½º¸¦ »ý¼ºÇÏ´Â ¹æ½ÄÀ¸·Î ¸¸µé¾îÁ³´Ù. µû¶ó¼ ¿©·¯ºÐµéÀº ´ÙÀ½°ú °°Àº ¸í·ÉÀ¸·Î Àû´çÇÏ°Ô ±â°èÀÇ ¼º´É¿¡ ¸Â´Â ¼Ò½º¸¦ »ý¼ºÇÒ¼ö ÀÖ´Ù.
bash# make target Making target directory for Linux-2.0.0-i586 Building directory tree Addingcommon Adding conf Adding lang-common Adding lite Adding makedepend Adding makegen Adding msql Adding reqexp Adding tests Adding tests/rtest.src Adding w3-msql Adding w3-msql/tests Adding sym-links
ÀÌ°ÍÀº mSQL Àº ±â°èÀÇ Á¾·ù¿¡ µû¶ó¼ ÀûÀýÈ÷ targetÈ£½ºÆ®¿¡ ¸Â´Â µð·ºÅ丮¸¦ »ý¼ºÇÏ°í ÀÌ°ÍÀ» ÀÌ¿ëÇÏ¿© mSQL2.0ÀÌ ÄÄÆÄÀÏ ½ÃÀÛÇÏ°Ô ‰ß°ÍÀÌ´Ù. ¾Æ¸¶µµ ¿©·¯ºÐÀÌ Á¤È®ÇÏ°Ô ½ÇÇàÀ» Çß´Ù¸é , ÇöÁ¦ µð·ºÅ丮¿¡¼ targets ¶ó´Âµð·ºÅ丮¸¦ ½±°Ô ãÀ»¼ö ÀÖ´Ù. ¿ì¸®´Â ÀÌ µð·ºÅ丮¸¦ ÀÌ¿ëÇÒ °ÍÀÌ´Ù. ´ÙÀ½°ú °°Àº ¸í·ÉÀ» ÀÔ·ÂÇÏ¿© µð·ºÅ丮¸¦ÀüȯÇÏ°í ±× µð·ºÅ丮¿¡¼ ´ÙÀ½°ú °°ÀÌ ./setupÀ» ½ÇÇàÇÑ´Ù.
./setup
ÀÌ ¸í·É¾î´Â ÇöÀç ½Ã½ºÅÛ¿¡¼ mSQL¸¦ ÄÄÆÄÀÏ Çϴµ¥ ÇÊ¿äÇÑ ¶óÀ̺귯¸®¿Í ½Ã½ºÅÛ ÄݵéÀ» üũÇÏ¿© ÀûÀýÇÑ ¼³Á¤ÆÄÀÏÀ» »ý¼ºÇÑ´Ù.
-rwxr-xr-x 1 10003 20 3882 Jul 8 15:22 INSTALL -rwxr--r-- 1 10003 bin 551 Jul 8 00:08 MSQL_BOOk -rwxr-xr-x 1 10003 20 1108 Jan 6 1997 Makefile -rwxr-xr-x 1 10003 20 2930 Jul 8 15:19 README -rwxr-xr-- 1 10003 20 1806 Apr 29 07:46 README.sco -rwxr-xr-- 1 10003 20 1117 Jul 8 15:24 RELESE_NOTES drwxr-xr-x 3 10003 20 1024 Feb 1 1997 demons drwxr-xr-x 2 10003 20 1024 Jul 8 15:36 doc drwxr-xr-x 3 10003 20 1024 Jul 8 15:01 misc drwxr-xr-x 2 10003 20 1024 Feb 1 19971 scripts drwxr-xr-x 12 10003 20 1024 Apr 6 19:12 src drwxr-xr-x 3 root root 1024 Aug 10 21:00 targets bash# cd targets/ bash# ls -al total drwxr-xr-x 3 root root 1024 Aug 10 21:10 drwxr-xr-x 8 10003 20 1024 Aug 10 21:10 drwxr-xr-x 13 root root 1024 Aug 10 21:10 Linux-2.0.0-i586 bash# cd Linux-2.0.0-i586/ bash# ./setup starting configuration of mSQL2. checkfor gcc checkfor return type of signal handlers
¸¸¾à üũ µµÁß¿¡ ¹®Á¦°¡ ¹ß»ýÇÏ°Ô µÇ¸é ÇØ´ç½Ã½ºÅÛ¿¡ GCC ¶óÀ̺귯¸®¸¦ ´Ù½Ã ¼³Ä¡Çϰųª, °ü¸®ÀÚ¿¡°Ô ¹®ÀÇÇϱ⠹ٶõ´Ù. ¸ðµç °ü°èµÇ´Â »çÇ×ÀÌ ¼º°øÀûÀ¸·Î üũ°¡µÇ°í ³ª¸é, mSQLÀ» ¼³Ä¡ÇÒ µð·ºÅ丮¸¦ ¼³Á¤ÇؾßÇϳª. ¿©·¯ºÐÀÌ È¸é¿¡ ¿µ¹®À¸·Î site.mm, À̶ó´Â ÆÄÀÏÀ» ÆíÁýÇصµ µÈ´Ù´Â ¸Þ½ÃÁö°¡ º¸ÀÏ °ÍÀÌ´Ù mSQLÀº µ¥ÀÌÅÍ º£À̽º¸¦ Á¦°øÇϰųª ¼¹ö¿¡¼ »ç¿ëÇÏÁö ¾Ê´Â´Ù¸é , ÀÌ µð·ºÅ丮¸¦ º¯°æÇÏ´Â °ÍÀÌ ÁÁ´Ù.
# Generated automatically from site.mm.in.by configure # # Site specific configuration # CC= gcc INST_DIR=/usr/local/Hughes HAVE_DYNAMIC=-DHAVE_DYNAMic # # Things below here shouldn't need to be changed # LINUX= $(CC) CPP=gcc-E RANLIB= ranlib YACC= bison -y SIGLIST= DIRNT= -DHAVE_DIRENET_H-DHAE_DIRENT MMAP=-DHAVE_MMAP U_INT=-DHAVE_U_INT SSIZE_T= -DHAVE_SSIZE_T
ȨÆäÀÌÁö³ª ±×¹Û¿¡ °³ÀÎÀûÀÎ ¿ëµµ·Î »ç¿ëÇÏ·Á¸é site.mm ¹®¼¿¡¼ INST_DIR ºÎºÐÀ» ÀÚ½ÅÀÇ È¨ µð·ºÅ丮³»¿¡ "....Hughes" ·Î ¼³Á¤ÇϸéµÇ°í Æнº´Â Àý´ë ÁÖ¼Ò·Î »ç¿ëÇؾßÇÑ´Ù. . À§Å©½ºÅ×À̼ÇÀ̳ª ´ëÇü À¯´Ð½º±â°è¿¡¼ °³ÀÎÀûÀÎ ¿ëµµ·Î ¼³Ä¡¸¦ ÇÑ´Ù¸é , ¹Ýµå½Ã pwd¸í·ÉÀ¸·Î ÀÚ½ÅÀÇ µð·ºÅ丮¸¦ È®ÀÎÇÏ¿© ¼³Á¤Çϱ⠹ٶõ´Ù.
You may wish to check 'site.mm' although the defaults should be find. When you're ready .type'make all' to build the software bash# vi site.mm bash# make all Regenrating Makefile make[1]:Entering directory'/usr/local/msql-2.0-rel/targets/Linux-2.0.0-i586 6' Starting make for mSQL-2 --> [command]directory make[2]:Entering directory '/usr/local/msql-2.0.rel/targets/Linux-2.0.0-i586/common' Regenrating Makefile
´ÙÀ½À¸·Î ¿ì¸®´Â mSQLÀ» ½ÇÁ¦ÀûÀ¸·Î ÄÄÆÄÀÏÇÏ´Â ÀÛ¾÷À» ÇؾßÇÑ´Ù ´ÙÀ½ÀÇ ¸í·ÉÀ» ÀÔ·ÂÇϸé À§¿¡¼ º¸´Â °Í°ú °°ÀÌ MakefileÀ» »ý¼ºÇÑÈÄ¿¡ ÀÌÁøÆÄÀÏÀ» »ý¼ºÇÏ°Ô µÈ´Ù.
Make all
ÄÄÆÄÀÏÀÌ ¼º°øÀûÀ¸·Î ¿Ï·áµÇ¸é ÁöÁ¤µÈ µð·ºÅ丮¿¡ ÄÄÆÄÀÏµÈ ¸ðµç ÆÄÀÏÀ» º¹»çÇؾßÇÑ´Ù. ´ÙÀ½ ¸í·ÉÀ» ½ÇÇàÇÏ¿© ¼³Ä¡¸¦ ÇÑ´Ù.
Make install
¼³Ä¡°¡ ¿Ï¼ºµÇ¸é "/usr/loacl/Hughes" µð·ºÅ丮¿¡´Â ¾Æ·¡¿Í °°Àº ÆÄÀϵéÀÌ º¸ÀÏ °ÍÀÌ´Ù. ¸¸¾à¿¡ ´Ù¸¥ µð·ºÅ丮¸¦ ÁöÁ¤Çß´Ù¸é ÇØ´ç µð·ºÅ丮¿¡ ¼³Ä¡°¡ µÇ¾î ÀÖÀ» °ÍÀÌ´Ù.
bash# pwd /usr/local/Hughes bash# ls -al total 3 drwxr-xr-x 11 mspl imiss 1024 Aug 10 21:13 drwxr-xr-x 21 root root 2048 Aug 10 20:50 -rwxr-xr-x 1 mspl users 2930 Aug 10 21:13 README -rwxr-xr-x 1 mspl users 1806 Aug 10 21:13 README.sco drwxr-xr-x 2 mspl users 1024 Aug 10 21:13 bin drwxr-xr-x 2 mspl users 1024 Aug 10 21:13 doc drwxr-xr-x 2 mspl users 1024 Aug 10 21:13 include drwxr-xr-x 2 mspl users 1024 Aug 10 21:13 lib drwxr-xr-x 2 mspl users 1024 Jul 14 18:41 makegen drwxr-xr-x 2 mspl users 1024 Jul 14 18:41 misc drwxr-xr-x 2 mspl users 1024 Jul 14 18:40 modules -rw-r--r-- 1 mspl users 496 Jul 27 23:19 msql.acl -rw------- 1 root root 195 Aug 10 21:13 msql.acl.sample -rw------- 1 msql user 195 Jul 14 18:41 msql.acl.sample -rw-r--r-- 1 root root 1008 Aug 10 21:13 msql.conf -rw-r--r-- 1 msql users 1008 Jul 14 18:41 msql.conf.old srwxr-xr--x 1 root root 0 Aug 10 20:35 msql2.sock -rw-r--r--- 1 msql users 2 Aug 10 20:35 msql2d.pid drwx------ 8 msql users 1024 Aug 2 09:26 msqldb drwxr-xr--x 4 msql users 1024 Jul 14 18:41 www bash#
¿©±â¼ °£´ÜÈ÷ mSQLÀÌ ¼³Ä¡µÈ µð·ºÅ丮 ±¸Á¶´Â ¾Ë¾Æº¸ÀÚ
µð·ºÅ丮 |
¼³ ¸í |
bin/ |
mSQL DBMSÀÇ ÀÌÁøÆÄÀÏ ¸ð´ÏÅÍ ¹× ±âŸ À¯Æ¿¸®Æ¼ |
doc/ |
mSQL DBMS ¼³¸í¼ÆÄÀÏ (rtf¹®¼ ps ¹®¼ 2°¡Áö ) |
lib/ |
mSQL C API ¹× W3-msql ¶óÀ̺귯¸® |
misc/ |
mSQL ¼³Á¤À» ÇÒ¼ö ÀÖ´Â ½ºÅ©¸³Æ® |
msqldb |
mSQL ÀÌ °ü¸®ÇÒ µ¥ÀÌÅÍ º£À̽º °ü·Ã ÆÄÀϵé ÀúÀå |
www |
W3-msql¿¡ ´ëÇÑ ¿¹Á¦ - bookmarks µ¥À̹ö º£À̽º |
ÀÌ µð·ºÅ丮Áß¿¡¼ °¡Àå Èï¹Ì¸¦ À¯¹ß½ÃÅ°´Â °ÍÀº www/ µð·ºÅ丮ÀÏ °ÍÀÌ´Ù ÀÌ°ÍÀº mSQLÀÌ ¾ÆÁÖ ½±°Ô Web°ú ÇÔ²² DBMS¿¬µ¿¶ó¼ö ÀÖ´Ù´Â °ÍÀ» º¸¿©ÁÖ´Â °ÍÀ¸·Î mSQL¹èÆ÷ÆÇ¿¡ Ç×»ó Æ÷ÇԵǾî ÀÖ´Ù.
bash# pwd /usr/local/Hughes/bin bash# ls -al total 639 drwxr-xr-x 2 msp usersl 1024 Aug 10 21:18 . drwxr-xr-x 11 msql imiss 1024 Aug 10 21:18 .. -rwxr-xr-x 1 root root 104955 Aug 10 21:13 lite -rwxr-xr-x 1 root root 25826 Aug 10 21:18 msql -rwxr-xr-- 1 root root 135801 Aug 10 21:18 msql2d -rwxr-xr-- 1 root root 28510 Aug 10 21:18 msqladmin -rwxr-xr-x 1 root root 24612 Aug 10 21:18 mdqldump -rwxr-xr-- 1 root root 23141 Aug 10 21:18 msqlexport -rwxr-xr-- 1 root root 29790 Aug 10 21:18 msqlimport -rwxr-xr-x 1 root root 25288 Aug 2 08:10 mdqltool -rwxr-xr-x 1 root root 25137 Aug 2 08:18 mdqlview -rwxr-xr-x 1 root root 24754 Aug 10 21:18 relshow -rwxr-xr-x 1 root root 72740 Aug 10 21:18 w3-auth -rwxr-xr-x 1 root root 112487 Aug 10 21:18 w2-msql
mSQL DBMS´Â 9°³ÀÇ ¾îÇø®ÄÉÀÌ¼Ç ÇÁ·Î±×·¥À¸·Î ±¸¼ºµÇ¾î ÀÖ°í , 1°³ÀÇ µ¥¸óÀÌ Á¸ÀçÇÑ´Ù. ¿©±â¼ msqlview¿Í msqltoolÀº Á¦¿ÜÇÏ°í º¸¾ÆÁֱ⠹ٶõ´Ù. ÀÌ ÇÁ·Î±×·¥µéÀº ÇÊÀÚ°¡ ºÒÆíÇÑ °ÍÀ» Á¶±Ý ¼öÁ¤ÇÏ¿© ¸¸µç ÇÁ·Î±×·¥À̹ǷΠ½Å°æ¾µ ÇÊ¿ä°¡ ¾ø´Ù. w3-auth ¿Í w3-msql´Â Web °ú mSQLÀÎÅÍÆäÀ̽º·Î ÀÌ ÆÄÀϵéÀº httpd µ¥¸ó µð·ºÅ丮¿¡ /cig-bin µð·ºÅ丮¿¡ º¹»çÇÏ¿© www/ µð·ºÅ丮³»ÀÇ ¿¹Á¦ ÇÁ·Î±×·¥À» Å×½ºÆ® ÇÒ¼ö ÀÖ´Ù.
3. mSQL ȯ°æ¼³Á¤
mSQL¼³Ä¡¸¦ ¸ðµÎ ¼º°øÀûÀ¸·Î ¸¶ÃÆ´Ù¸é mSQLÀ» »ç¿ëÇÒ¼ö ÀÖµµ·Ï ȯ°æÀ» ¼³Á¤ÇؾßÇÑ´Ù. Áö±ÝÀÇ »óÅ·δ mSQLÀ» »ç¿ëÇÒ¼ö ¾ø´Ù. ȯ°æÀ» ¼³Á¤Çϱâ À§ÇÏ¿© ´ÙÀ½ ¸í·ÉÀ» ½ÇÇàÇÑ´Ù.
cd/usr/local/Hughes/
vi msql.conf
msql.conf ÆÄÀÏÀº mSQL µ¥¸ó¿¡ ´ëÇÑ µ¿ÀÛÀ» »ç¿ëÀÚ°¡ ÁöÁ¤ÇÒ¼ö ÀÖ´Ù.ÀÌÀü¹öÀü¿¡´Â ÀÌ·¯ÇÑ °ÍÀÌ Áö¿øÇÏÁö ¾Ê¾ÒÀ¸³ª 2.x ¹öÀü¿¡¼ºÎÅÍ Áö¿øÇϱ⠽ÃÀÛÇß´Ù. msql.confÀº [Genaral] ¼½¼Ç°ú [w3-msql] ¼½¼Ç ±×¸®°í [system] ¼½¼ÇÀ¸·Î ÃÑ3°¡ÁöÀÇ ¼½¼ÇÀ¸·Î ±¸¼ºµÇ¾î ÀÖ´Ù ±×Áß¿¡¼ General ¼½¼Ç¿¡¼ ¼¼úµÈ ÆĶó¸ÞÅ͵éÀ» ¾Ë¾Æº¸ÀÚ
General ¼½¼Ç
ÆĶó¹ÌÅÍ |
±âº»°ª |
Á¤ ÀÇ |
Inst_Dir |
/usr/local/Hughes |
mSQL DBMS°¡ ¼³Ä¡µÈ µð·ºÅ丮 Full Path |
mSQL_User |
msql |
mSQL ¼¹ö¸¦ ½ÇÇàÇÒ ¾ÆÀ̵ð |
Admin_User |
root |
Server Shutdown À̳ª Database »ý¼ºµéÀÇ ¸í·ÉµîÀÇ ±ÇÇÑÀ» ºÎ¿©¹ÞÀº »ç¿ëÀÚ¾ÆÀ̵ð |
Pid_File |
%I/msql2.pid |
mSQL ¼¹öÀÇ pid°¡ ÀúÀåµÉ ÆÄÀÏ |
TCP_PORT |
1114 |
mSQL ¼¹ö°¡ TCP/IP ³×Æ®¿öÅ©·Î C/S°£ ÀÇ Á¢¼ÓÀÌ ÀÌ·ç¾îÁú ¶§ ¹Þ¾ÆµéÀÏ TCP Æ÷Æ® |
UNIX-Port |
%I/msql2.sock |
UNIX Domain socketÀÇ Full path |
general ¼½¼Ç¿¡¼ %I ¶ó´Â °ÍÀÌ Àִµ¥ ÀÌ°ÍÀº mSQLÀ» ¼³Ä¡ÇÑ µð·ºÅ丮¸¦ ¸»ÇÏ´Â °ÍÀ¸·Î ÆĶó¸ÞÅÍ Inst_Dir °ú °°Àº °ªÀ» °¡Áö°Ô µÈ´Ù. mSQLÀ» °³ÀÎÀÌ ¼³Ä¡ÇÏ´Â °ÍÀ̶ó¸é mSQL_User ¿Í Admin_User ÀÇ ¾ÆÀ̵𰡠°°¾Æ¾ß ÇÑ´Ù ±×´ÙÀ½¿¡ chown¸í·ÉÀ¸·Î mSQL µð·ºÅ丮 ¸ðµÎ¸¦ ÇØ´ç¾ÆÀ̵ð·Î ¹Ù²Ù¾îÁØ´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì¿¡´Â ±âº»°ªÀ» À¯ÁöÇÏ´Â °ÍÀÌ ÁÁ°í ½´ÆÛÀ¯Àú´Â ¹Ýµå½Ã msqlÀ̶ó´Â »ç¿ëÀÚ¸¦ adduser ÇÁ·Î±×·¥À¸·Î »ý¼ºÇؾßÇÑ´Ù.
´ÙÀ½Àº msql.conf¸¦ ¼³Á¤ÇÑ ¿¹Á¦ÀÌ´Ù.
# # msql.conf- Configuration file for Mino SQL Version 2 # -------------------------------------------------------- # NOTE : The install directory and all files/directories below it_must_ # be owned by the user specifed in the mSQL_User parameter (the # user msql by default). If you change the mSQL_User value than # you must'chown -R' the install directory. # [general] Inst_Dir = /usr/local/Hughes mSQl_User = msql Admin_User = root Pid_File = %I/msql2d.pid TCP_Port = 1114 UNIX_Port = %I/msql2.sock [system] Msync_Timer = 30 Host_Lookup = True Read_Only = False [w3-msql] Auth_Host = NULL Footer = False Force_Private = False
´ÙÀ½À¸·Î mSQL µ¥ÀÌÅÍ º£À̽º ¼¹ö¿¡ ´ëÇÏ¿© µð¹ö±× ¸Þ½ÃÁö¸¦ º¼¼ö ÀÖ°Ô Çغ¸°Ù´Ù. ¾Æ·¡¿¡ º¸¸é profile¿¡ api¿Í query. malloc ¿Í ±× ¹ÛÀÇ ¿©·¯ °¡Áö »óȲ¿¡ ´ëÇÑ µð¹ö±× ¸Þ½ÃÁö¸¦ Ãâ·ÂÇϵµ·Ï ¼³Á¤µÇ¾î ÀÖ´Ù ´ÙÀ½ÀÇ Ç¥´Â MSQL_DEBUG ȯ°æº¯¼ö¿¡ ¿É¼ÇÀ¸·Î µé¾î°¥¼ö ÀÖ´Â µð¹ö±× ¸ðµâµéÀÌ´Ù. , ÀÚ½ÅÀÌ ÇÊ¿äÇÑ µð¹ö±× ¸ðµâÀ» ¼±ÅÃÇÏ¿© ¼³Á¤Çϱ⸸ ÇÏ¸é µÈ´Ù.
eval 'dircolors -b' fi # Motify user of incoming mail. This cab be overridden in the user's # local startup file(~/.bash.login or whatever, depeiding on the shell) if [-x biff]; then biff y fi #ÇÑ¿¢½º ¼ÂÆà export HANX_INPUT_DISABLE=1 export HANX_OUTPUT_DISABLE=0 export HANX_FONT='-kaist-iyayi-bold-*-*-*-*-*-*-*-*-*-*-*-*-*- # µ¥ÀÌÅ× º£À̽º ¼ÂÆà export MSQL_DEBUG =api:quert:general:malloc export MSQL_TCP_PORT= 114
mSQL¿¡¼ Á¦°øÇÏ´Â µð¹ö±× ¿É¼Ç
µð¹ö±× ¸ðµâ |
¼³ ¸í |
cache |
µ¥À̺í ij½¬ ÀÛ¾÷µéÀ» Ç¥½ÃÇÑ´Ù. |
query |
½ÇÇàÇϱâ Àü¿¡ °¢°¢ÀÇ ½ÇÇàµÉ SQL¸¦ Ç¥½ÃÇÑ´Ù. |
error |
¿¡·¯¸Þ¼¼Áö¸¦ Ãâ·ÂÇÑ´Ù. |
key |
Å°¿¡ ´ëÇÏ¿© µ¥ÀÌÅÍÀÇ »ó¼¼ »çÇ×À» º¸¿©ÁØ´Ù. |
malloc |
¸Þ¸ð¸®ÀÇ ÇÒ´ç¿¡ ´ëÇ× »ó¼¼»çÇ×À» º¸¿©ÁØ´Ù. |
trace |
ÇÁ·Î±×·¥ ½ÇÇà¿¡ µû¸¥ ÇÔ¼öÀÇ È£Ãâ ¼ø¼¸¦ Ãâ·Â |
mmap |
¸Þ¸ð¸® ¿µ¿ªÀÇ »ó¼¼ »çÇ×À» Ãâ·ÂÇÑ´Ù. |
general |
À§ÀÇ ºÐ·ù ÀÌ¿ÜÀÇ ¿¡·¯¿¡ ´ëÇÏ¿© Ãâ·ÂÇÑ´Ù. |
¼³Á¤À̸ðµÎ ³¡³µÀ¸¸é ÀÌÁ¦ µ¥ÀÌÅÍ º£À̽º ¼¹ö¸¦ ½ÇÇà½ÃÄÑ¾ß µÈ´Ù. mSQLÀÇ 2.0 ¹öÀüºÎÅÍ´Â "msql2d"·Î À̸§ÀÌ ¹Ù²î¾ú´Ù. ´ÙÀ½ ¸í·ÉÀ» ½ÇÇàÇÏ¿© mSQL 2.0 DBMS Server¸¦ ¶ç¿öº¸ÀÚ
/usr/local/Hughes/bin/msql2d &
½ÇÇàÀÌ µÇ¸é¼ ¸Þ½ÃÁö°¡ Ãâ·ÂµÉ °ÍÀÌ´Ù ÇÏÁö¸¸ ¸Å¹ø ÀÌ·¸°Ô ±ÍÂú°Ô ¸í·ÉÀ» ³»¸®°í ½ÍÁö ¾Ê´Ù¸é "/etc/rc.d/rc.local" ÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ ÆíÁýÇÏ´Â °ÍÀÌ Æí¸®ÇÏ´Ù. ¸®´ª½º°¡ ¾ËÂ¥ ¿þ¾î¶ó¸é "/etc/rc.d/rc.alzza"ÆÄÀÏ ÆíÁýÇÑ´Ù. ÀÌ°ÍÀº ½Ã½ºÅÛÀÌ ÄÑÁú ¶§¸¶´Ù mSQL DBMS ¼¹ö µ¥¸óÀ» ½ÇÇàÇÏ°Ô µÈ´Ù.
# # mSQL 2.0 rel DBMS Server # Echo "Running mSQL 2.0 DBMS Server..." /usr/local /Hughes/msql2d &
¹°·Ð ½Ã½ºÅÛÀÌ Shutdown µÉ ¶§´Â mSQL Serverµµ Shutdown ÀÌ µÇ¹Ç·Î ÀϺη¯ mSQL Server¸¦ ¸Å¹ø Shutdown ÇÒ ÇÊ¿ä´Â ¾ø´Ù.
ÀÌ·¸°Ô Çؼ ÃÖ±Ù¿¡ Àα⸦ ¸ô°í ÀÖ´Â ,UNIX¿ë RDBMSÀÎ mSQL 2.0¸¦ ¸®´ª½º¿¡ ¼³Ä¡Çغ¸¾Ò´Ù ¸¹ÀÌ ¹ÌÈíÇÑÁ¡ÀÌ ÀÖÀ¸³ª ±×³ª¸¶ mSQL¼³Ä¡ÇÏ¿© »ç¿ëÇϴµ¥ ÀÖ¾î¼ µµ¿òÀÌ µÇ¾úÀ¸¸é ÁÁ°Ù´Ù.