linux Ï mysql Êý¾Ý¿âɾ³ýÃüÁî
mysqladmin -u root drop Êý¾Ý¿âÃû
ÕâÑùɾ³ý»áÒªÇó°´y È·¶¨
ÓÐûÓвÎÊý¼ÓÔÚºóÃæ ÈÃÎÒ²»Óð´yÈ·ÈÏÒ²¿ÉÒÔɾ³ý
mysql -u root -e "drop databse Êý¾Ý¿âÃû"
SQL code:
mysql> drop database d;
Query OK, 0 rows affected (0.30 sec)
Perl code:
echo "y" | mysqladmin -u root drop
Ïà¹ØÎÊ´ð£º
¸ç¸ç½ã½ãÃÇ£¬£¬£¬ÎÒÔÚVISTA ÏÂÓÃVMware °²×°ºìÆì6.5ʱ£¬°²×°µ½Ó²ÅÌ·ÖÇøµÄʱºò£¬×ÜÊdzöÏÖÒ»¸ö¶Ô»°¿ò¡£ÉÏÃæд×Å£º¡°³öÏÖ´íÎó---δÕÒµ½ÒªÔÚÆäÖд´½¨ÐÂÎļþϵͳµÄÓÐЧÉ豸¡£Çë¼ì²éÄãµÄÓ²¼þÒÔÕÒµ½ÎÊÌâµÄÆðÒò¡£¡±ÇëÎÊÔõô½ ......
ÎÒÔÚlinuxÏÂдÁ˸öUDPµÄserverºÍclientµÄ´úÂ룬
ÏÖÔÚ³öÁËÕâÑùÒ»¸öÎÊÌ⣬
serverÊÕµ½ÁËclientµÄÊý¾Ý£¬²¢»Ø¸´ÁË£¬µ«ÊÇclientÒ»Ö±ÊÕ²»µ½server»Ø¸´µÄÄÚÈÝ£¬£¬ºóÀ´ÎÒÓÃ×¥°ü¹¤¾ß½¨Á¢ÁËÒ»¸öserverÀ´Á¬½Ó֮ǰµÄcl ......
ÏÖÔÚµÄ×ö·¨ÊÇ,ͨ¹ýcrontabÿ·ÖÖÓÖ´ÐÐÒ»¸öphp,Õâ¸öphp¸ºÔð´ÓÊý¾Ý¿âÖÐÈ¡³öÓʼþ,È»ºó·¢ËÍ
ÎÊÌâÊÇ,Èç¹ûÓʼþºÜ¶à,ÿ·ÖÖÓÖ´Ðв»Íê,ÄÇ»áÔì³ÉºÜ¶àphp½ø³Ì
Äܲ»ÄÜʵÏÖµÈÕâ¸öphpÖ´ÐÐÍêÁËÁ¢¼´Æô¶¯Ò»¸öеÄ?²»ÓÃcr ......
¾ÍÊÇ˵ÏÖÔÚÊÇwindowsÏ ÎÒ°ÑÒ»¸ö·ÖÇøÌÚ³öÀ´ÁË µ«ÊÇÓùâÅÌ°²×°linuxµÄʱºòʶ±ð²»ÁË ÄǸÃÔõÑù°Ñ´ÅÅ̵ĸñʽת»»ÎªlinuxÄÜʶ±ð³öµÄ?
ÓÐÈËÕâÑù»Ø´ð
(
°Ñ·ÖÇøɾ³ý£¬È»ºóÓÃLinux°²×°Å̸ñʽ»¯³ ......
chmodÖеÄmode_t²ÎÊý£¬ÈçºÎ¶¯Ì¬µÄ´«ÈëÖµ£¬ÀýÈç ÎÒÒª´«Èë0777»ò0444£¬µ«ÎÒÊäÈëµÄÊÇ×Ö·û´® Ôõôת»¯Îª8½øÖÆ
ÿ¸öģʽ¾ùÔ¤¶¨ÒåÓк꣬ÓÖÒòΪÆäʵ¿ÉÑ¡·ÖÖ§ÓÐÏÞ£¬Äã¿ÉÒÔÅжÏÊäÈëµÃ×Ö·û´®£¬Ê¹ÓÃswicthÖ®ÀàµÃ°ì·¨£¬¸øÒ»ÁÙʱ ......