Æí¸®ÇÑ È£½ºÆà ¹Ì¼ÒIDC

   
 
 
 

      1Â÷ ³×ÀÓ¼­¹ö :
      ns1.misoidc.com
      101.79.73.101

      2Â÷ ³×ÀÓ¼­¹ö :
      ns2.misoidc.com
      101.79.73.105

      ¾îÁ¦ : 218 ,¿À´Ã : 576
      Àüü : 1,218,361


     

 

 
ÀÛ¼ºÀÏ : 12-01-03 15:51
php ÄÄÆÄÀϽà Cannot find libmysqlclient_r ¿À·ù ¹ß»ý..
 ±Û¾´ÀÌ : ½ÑÀ¥È£½ºÆÃ
Á¶È¸ : 20,015  
2007/08/31 14:52 2007/08/31 14:52
* ÄÄÆÄÀÏ ¼ø¼­ : mysql -> apache -> php
------------------------------------------------
mysql°ú apache´Â ¿Ã¹Ù¸£°Ô ÄÄÆÄÀÏµÇ¾î ¼­ºñ½º°¡ Á¦°ø µÇ¾úÀ¸³ª php ÄÄÆÄÀÏÀÌ ¿Ã¹Ù¸£°Ô µÇÁö ¾Ê¾Ò½À´Ï´Ù.
(Áß·«)
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql
Note that the MySQL client library is not bundled anymore!

[root@client2 mysql]# pwd
/usr/local/mysql/lib/mysql

[root@client2 mysql]# ls
libdbug.a libmyisammrg.a libmysqlclient.so.15 libmysys.a libheap.a
libmysqlclient.a libmysqlclient.so.15.0.0 libvio.a libmyisam.a libmysqlclient.la
libmysqlclient_r.so libmysqlclient.so libmystrings.a

¿øÀÎ)
libmysqlclient_r ÀÌ mysqlÀ» ÄÄÆÄÀÏ ÇÒ ¶§ »ý¼ºµÇÁö ¾Ê¾Æ¼­ »ý±â´Â ¹®Á¦ÀÔ´Ï´Ù.
Apache °¡ Thread ¸ðµå·Î ¼³Ä¡µÇ¾îÀÖÀ¸³ª, MySQL Àº Thread Safe ¿É¼ÇÀ» ÁÖÁö ¾Ê¾Ò±â ¶§¹®ÀÔ´Ï´Ù.
¸Ç óÀ½ Apache ¸¦ ÄÄÆÄÀÏ ÇÒ ¶§ --with-mpm=worker ¿É¼ÇÀ¸·Î MPM ¹æ½ÄÀ» Worker ·Î ÁöÁ¤ÇÏ¿´½À´Ï´Ù. Worker ¹æ½ÄÀÇ °æ¿ì Thread ´ÜÀ§·Î ¿äûÀ» ó¸®ÇÏÁö¸¸ mysql Àº Thread 󸮸¦ Çϵµ·Ï ÄÄÆÄÀÏ µÇÁö ¾Ê¾Ò±â ¶§¹®¿¡ PHP ÄÄÆÄÀÏÀ» Çϸ鼭 ¿À·ù°¡ ¹ß»ýÇÑ °ÍÀÔ´Ï´Ù. ¹°·Ð Apache ÄÄÆÄÀϽà prefork (±âº»°ª)À¸·Î ¼³Ä¡½Ã¿¡´Â ÀÌ·± ¹®Á¦°¡ ¹ß»ýÇÏÁö ¾Ê½À´Ï´Ù.

ÇØ°á¹æ¾È)
mysql ÄÄÆÄÀÏ ½Ã ´ÙÀ½ ¿É¼ÇÀ» Ãß°¡ÇØ º¾´Ï´Ù.
--enable-thread-safe-client

# ./configure --prefix=/usr/local/mysql --with-charset=euckr --enable-thread-safe-client && make &&make install

[root@client2 mysql]# pwd
/usr/local/mysql/lib/mysql

[root@client2 mysql]# ls
libdbug.a libmyisammrg.a libmysqlclient_r.a libmysqlclient_r.so.15 libmysqlclient.so.15 libmysys.a
libheap.a libmysqlclient.a libmysqlclient_r.la libmysqlclient_r.so.15.0.0 libmysqlclient.so.15.0.0 libvio.a
libmyisam.a libmysqlclient.la libmysqlclient_r.so libmysqlclient.so libmystrings.a

mysql library µð·ºÅ丮¿¡ libmysqlclient_r °¡ ¿Ã¹Ù¸£°Ô »ý¼ºµÇ¾ú½À´Ï´Ù.

ÀÌÁ¦ php¸¦ ´Ù½Ã ÄÄÆÄÀÏ ÇÏ¸é µË´Ï´Ù.



 
 

Total 78
¹øÈ£ Á¦   ¸ñ ±Û¾´ÀÌ ³¯Â¥ Á¶È¸
63 memcached Cacti Template ½ÑÀ¥È£½ºÆà 05-17 122067
62 ORA-00020: maximum number of processes (%s) exceeded ½ÑÀ¥È£½ºÆà 05-14 23750
61 ¸®´ª½º¿¡¼­ ¼Ò½ºÄÄÆÄÀÏÀ» ÀÌ¿ëÇÑ Trac, Subversion ¼³Ä¡ ¿Ïº® °¡¡¦ (1) ½ÑÀ¥È£½ºÆà 05-10 85973
60 Trac ¼³Ä¡ ¹× ¼³Á¤ ¸Þ´º¾ó ½ÑÀ¥È£½ºÆà 05-07 152149
59 ¸®´ª½º ƯÁ¤ ³¯Â¥ ÀÌÈÄ º¯°æ ÆÄÀÏ Ã£±â ½ÑÀ¥È£½ºÆà 03-31 20015
58 CentOS 5.5 VNC ¼³Á¤ ¹× »ç¿ë¹æ¹ý (1) ½ÑÀ¥È£½ºÆà 03-28 150940
57 29Trac & Subversion ¹é¾÷ ¹× º¹±¸ ½ÑÀ¥È£½ºÆà 02-24 19117
56 HP ProLiant ¼­¹ö¿¡ RAID 1À¸·Î Ubuntu 10.4 LTS , HP Sotware ¡¦ ½ÑÀ¥È£½ºÆà 02-22 65471
55 HP¼­¹ö Çϵåµð½ºÅ©ÀÇ »óź¸±â ½ÑÀ¥È£½ºÆà 02-20 110173
54 CentOS - Apache + SVN + Trac ¿¬µ¿ ½ÑÀ¥È£½ºÆà 02-16 202504
53 [¸®´ª½º/NGINX] CentOs 5.7 64bit ¿¡¼­ NGINX + PHP + MYSQL + m¡¦ ½ÑÀ¥È£½ºÆà 01-13 162822
52 php ÄÄÆÄÀϽà Cannot find libmysqlclient_r ¿À·ù ¹ß»ý.. ½ÑÀ¥È£½ºÆà 01-03 20016
51 MySQL ·Î±×ÆÄÀÏ Á¤¸®Çϱ⠽ÑÀ¥È£½ºÆà 12-26 21810
50 SQL Server 2005¿¡¼­ DBCC SHRINKFILE ¹®À» »ç¿ëÇÏ¿© Æ®·£Àè¼Ç ¡¦ ½ÑÀ¥È£½ºÆà 12-07 32385
49 Subversion/Trac ¹é¾÷ ¹× º¹±¸ ½ÑÀ¥È£½ºÆà 11-30 30860
 1  2  3  4  5  6