Dain.Bora.Net  ver 2.0  
About Me
ÇÁ·ÎÇÊ
³ªÀÇ °¡Á·
¿ë's X-file
¼÷'s X-file
´ÙÀÎȨÇÇ ver 1.0
¼ÒÁßÇÑ »ç¶÷µé
°¡Á·µé
Ä£±¸µé
Á÷À嵿·áµé
´ÙÀÎ&°ÇÈñ
´ÙÀÎÀÌ À̾߱â
°ÇÈñ À̾߱â
¾ö¸¶ À̾߱â
±â¾ï¼ÓÀ¸·Î
°¡Á·µé°ú ÇÔ²²
Áñ°Å¿î Ãß¾ïµé
»çÁø & ¹°»ýÈ°
µðÄ« À̾߱â
ÇູÇÑ ¹°»ýÈ°
Æ÷Åä°¶·¯¸®
°Ô½ÃÆÇ
ºÎ½º·¯±âµé
ÀÚ·á½Ç
ÁÁÀº±Û
½ºÅ͵ð
¹æ¸í·Ï
¸Ô°íÀÚ°í³î°í
°¡º¼¸¸ÇÑ°÷
¸Ô°í½ÍÀº°Í
¸µÅ©
Ä«¿îÅÍ
¿À´Ã : 1
Àüü : 43455
³¯ÀÚ : 2024/09/16

Category Category
mysql ¼³Ä¡ °¡À̵å
# DB   2005-11-20 22:04
ÀÌ»ó¿ë
mysql-3.23.54a ÃֽŠ¹öÀü ¹× mysql 4.0.9 ¹öÀü ¼³Ä¡ ÀÔ´Ï´Ù.

¡Ú ¼Ò½º ¼³Ä¡ ÀÔ´Ï´Ù. RPMÀ̳ª ¹ÙÀ̳ʸ® ¼³Ä¡´Â ±ÇÀå ÇÏÁö ¾Ê½À´Ï´Ù..^^


MySQL ¼­¹ö¸¦ /mysql_server µð·ºÅ丮¿¡ ¼³Ä¡ ÇÏ´Â °úÁ¤ ÀÔ´Ï´Ù.
data µð·ºÅ丮´Â /mysql_server/var ¾Æ·¡ ÀÔ´Ï´Ù.

´Ù¿î·Îµå
http://www.mysql.com ¿¡¼­ download¿¡¼­ ¼Ò½º(Source) ´Ù¿î·Îµå

ÆÄÀϸí: mysql-3.23.54a.tar.gz



mysql ±×·ì°ú »ç¿ëÀÚ ¸¸µé±â ( for º¸¾È )
shell> groupadd mysql
shell> useradd -g mysql mysql

¾ÐÃà Ç®±â
shell> tar zxvf mysql-3.23.54a
shell> cd mysql-3.23.54a

mysql 3.x.xx ¹öÀü¿¡¼­ À̳ëµðºñ¸¦ »ç¿ëÇؼ­ Æ®·£Àè¼ÇÀ» ¾²·Á¸é configure½Ã¿¡ --with-innodb ¼³Á¤À» Çϼ¼¿ä !
mysql 4 ´Â ¾ÈÇصµ µÊ´Ù.. ±âº» ¼³Ä¡ µÊ´Ù.. innodb

shell> ./configure --prefix=/mysql_server


makeÇÏ°í 10ºÐ Á¤µµ ´ã¹è ÇǼ¼¿ä ^^
shell> make
make install Àº ºü¸§´Ù.
shell> make install

make³ª make install ÇÏ°í ÀÖ´Â µ¿¾È ±âº»ÀûÀÎ ¿¡·¯ (ErrorÀ̳ª Leaving directory ,Nothing) ´Â ¹«½ÃÇϼ¼¿ä^^
¹«½ÃÇÏ°í ³Ñ¾î°¡ ¼¼¿ë ! make´Â 5ºÐ¿¡¼­ 10ºÐ Á¤µµ, make install Àº 10ÃÊ Á¤µµ °É¸®¸é µË´Ï´Ù.
±×·¡µµ ¿À·ù°¡ ³ª¸é gcc ¸¦ ¾÷±Û Çϼ¼¿ä. gcc.gnu.org ¿¡¼­ 3.2.1 ¹öÀü ´Ù¿î ¹Þ¾Æ ¼³Ä¡ Çϼ¼¿ä !



mysql¿Í test µ¥ÀÌÅͺ£À̽º »ý¼º Çϱâ
shell> scripts/mysql_install_db

¼ÒÀ¯±Ç ºÎ¿© Çϱâ
shell> chown -R root  /mysql_server
shell> chown -R mysql /mysql_server/var
shell> chgrp -R mysql /mysql_server

my.cnf ÆÄÀÏ »ý¼º Çϱâ
shell> cp support-files/my-medium.cnf /etc/my.cnf

mysql-3.23.xx ¹öÀü °æ¿ì´Â safe_mysqld
shell> /mysql_server/bin/safe_mysqld --user=mysql &
MySQL 4.x °æ¿ì´Â mysqld_safe
shell> /mysql_server/bin/mysqld_safe --user=mysql &

À§ ó·³ ¼³Ä¡ ÇÒ °æ¿ì mysql.sock ÆÄÀÏÀº /tmp/mysql.sock ¿¡ »ý±é´Ï´Ù.
¼ÒÀ¯±ÇÀº mysql ·Î µÇ¾î ÀÖÁÒ..


¡Ú root ºñ¹ø ¼³Á¤ Çϱâ => root ºñ¹øÀ» xxx ·Î ¼³Á¤ !

mysql> update user set password=password('xxx') where user='root';

Å« µû¿ÈÇ¥(")°¡ ¾Æ´Ï¶ó, ÀÛÀº µû¿ÈÇ¥(') 2°³ ÀÔ´Ï´Ù.
mysql> delete from user where user='';
mysql> flush privileges;

root·Î mysql ¼­¹ö¿¡ Á¢¼Ó Çϱâ
shell> mysql -uroot -p

¡Ú mysql ¼­¹ö Áö¿ì±â

mysqladmin shutdown

make uninstall

make clean

rm -rf /mysql_server

¡Ú mysql.sock ÆÄÀÏ ¿¡·¯ ÇØ°á
http://www.tood.net/tood/toodboard/toodread.php?board=tootech&tcode=1667

=============================
mysql configure ÇÒ¼ö ÀÖ´Â °Íµé ÀÓ´Ù..  --help Çغ¸¼¼¿ä.
./configure --prefix=/usr/local/mysql --enable-assembler \
--localstatedir=/val/mysql \
--with-charset=euc_kr \
--with-extra-charsets=none \
--with-mysqld-user=mysql \
--sysconfdir=/etc \
--with-innodb \
--enable-thread-safe-client \
--with-mysqld-ldflags=-all-static \
--with-client-ldflags=-all-static

=============================
ÀÚµ¿½ÃÀÛ ½ºÅ©¸³Æ® »ý¼º
cp -fp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/mysqld
ln -s /etc/init.d/mysqld /etc/rc3.d/S87mysqld

=============================
DB »ý¼º ¹× °èÁ¤ »ý¼º
insert into db values ('%','xxxmdb','manager','y', 'y', 'y', 'y', 'y', 'y', 'y', 'y', 'y', 'y','y','y');
insert into user values ('localhost','manager',password('xxxxx'), 'y', 'y', 'y', 'y', 'y',  'y', 'y', 'y', 'y', 'y',  'y', 'y', 'y', 'y', 'y',  'y', 'y', 'y', 'y', 'y', 'y', '','','','',0,0,0);
Name       Pass       Secret Code   Resize  
List
28    [C/C++] [Á¤º¸º¸¾È][Á¤º¸º¸¾ÈÀü¹®°¡][¸®´ª½º]GDB»ç¿ë¹ý  ÀÌ»ó¿ë 2011.05.12 674
27    [º¸¾È] À¥ º¸¾È [3] ÀÌ»ó¿ë 2008.05.28 2877
26    [ÀÚ¹Ù½ºÅ©¸³Æ®] JavasScript ÃÑ Á¤¸® [5] ÀÌ»ó¿ë 2007.04.10 1337
25    [¸®´ª½º/À¯´Ð½º] rrdtool ¼³Ä¡ [1] ÀÌ»ó¿ë 2007.02.27 1947
24    [°øÅë] Open Source Æз¯´ÙÀÓ ½¬ÇÁÆ® [146] ÀÌ»ó¿ë 2007.02.27 1393
23    [ÀÚ¹Ù½ºÅ©¸³Æ®] Table Row »èÁ¦Çϱâ [74] ÀÌ»ó¿ë 2006.12.01 1020
22    [¸®´ª½º/À¯´Ð½º] swatch¸¦ ÀÌ¿ëÇØ ·Î±×ÆÄÀÏÀ» ½Ç½Ã°£À¸·Î ¸ð´ÏÅÍÇØ º¸ÀÚ. [1] ÀÌ»ó¿ë 2006.08.29 1061
21    [¸®´ª½º/À¯´Ð½º] cfengine À» ÀÌ¿ëÇÏ¿© ¿©·¯´ëÀÇ ½Ã½ºÅÛ°ü¸® ÀÚµ¿È­ Çϱâ [1] ÀÌ»ó¿ë 2006.08.04 1818
20    [¸®´ª½º/À¯´Ð½º] Content Management Systems (CMS) - OpenSource  ÀÌ»ó¿ë 2006.08.04 2041
19    [À¥] Web 2.0À̶õ ¹«¾ùÀΰ¡ [1] ÀÌ»ó¿ë 2006.08.02 969
18    [À¥] [PHPA] using PHP Accelerator [2] ÀÌ»ó¿ë 2006.02.16 9359
17    [°øÅë] Á¤±Ô Ç¥Çö½Ä  ÀÌ»ó¿ë 2006.01.05 805
16    [¸®´ª½º/À¯´Ð½º] SELinux ?  ÀÌ»ó¿ë 2006.01.04 940
15    [¸®´ª½º/À¯´Ð½º] apache2.0 + tomcat5.x ¼³Ä¡Çϱâ [1] ÀÌ»ó¿ë 2005.11.21 2558
   [DB] mysql ¼³Ä¡ °¡ÀÌµå  ÀÌ»ó¿ë 2005.11.20 1054
13    [³×Æ®¿÷] Catalyst 4000-L3 Switch ±¸Á¶¿Í setting [206] ÀÌ»ó¿ë 2005.11.08 64226
12    [³×Æ®¿÷] ³×Æ®¿öÅ© Áø´Ü ¸í·É¾î(À©µµ¿ì) [1] ÀÌ»ó¿ë 2005.11.08 1398
11    [³×Æ®¿÷] DNS ¿î¿µ ÀÚ·á  ÀÌ»ó¿ë 2005.11.08 845
10    [³×Æ®¿÷] Cisco 6509 ¿î¿µ ¸Þ´º¾ó [1] ÀÌ»ó¿ë 2005.11.08 4726
9    [¸®´ª½º/À¯´Ð½º] GD ¼³Ä¡ÇØ º¸ÀÚ...  ÀÌ»ó¿ë 2005.09.29 1830
List   1 [2]  
Copyright 1999-2024 Zeroboard / skin by eggnara