Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

mysql µ¼Èë¡¢µ¼³öÊý¾Ý¿â¡¢±í

DOS¡¡´°¿Ú
¿ªÊ¼£­£¾ÔËÐУ­£¾¡¡cmd
µ¼³öΪ£º¡¡mysqldump -u Óû§Ãû -p  --opt  Êý¾Ý¿âÓû§Ãû >
Êý¾Ý¿âÃû.sql
ÊäÈëÄãµÄÊý¾Ý¿âÃÜÂë!phpma.com
µ¼ÈëΪ£ºmysql -u Óû§Ãû -p Êý¾Ý¿âÓû§Ãû < Êý¾Ý¿âÃû.sql
£¨Òª
ÔÚµ±Ç°Ä¿Â¼Ï²Ù×÷£©
ÒªÏ뽫Îı¾Îļþ

pet.txt

×°Ôص½
pet
±íÖУ¬Ê¹ÓÃÕâ¸öÃüÁ
mysql>
LOAD DATA LOCAL INFILE '/path/pet.txt' INTO TABLE pet;
Çë×¢ÒâÈç¹ûÓÃWindows
Öеı༭Æ÷£¨Ê¹ÓÃ\r\n
×öΪÐеĽáÊø·û£©
´´½¨Îļþ£¬Ó¦Ê¹Óãº
mysql>
LOAD DATA LOCAL INFILE '/path/pet.txt' INTO TABLE pet
    ->
LINES TERMINATED BY '\r\n';


Ïà¹ØÎĵµ£º

MySQLµÄfrom_UNIXTIME()ºÍUNIX_TIMESTAMP()º¯ÊýµÄÇø±ð

from_unixtime()ÊÇMySQLÀïµÄʱ¼äº¯Êý
dateΪÐèÒª´¦ÀíµÄ²ÎÊý(¸Ã²ÎÊýÊÇUnix ʱ¼ä´Á),¿ÉÒÔÊÇ×Ö¶ÎÃû,Ò²¿ÉÒÔÖ±½ÓÊÇUnix ʱ¼ä´Á×Ö·û´®
ºóÃæµÄ '%Y%m%d' Ö÷ÒªÊǽ«·µ»ØÖµ¸ñʽ»¯
ÀýÈç:
mysql>SELECT from_UNIXTIME( 1249488000, '%Y%m%d' )  
->20071120
mysql>SELECT from_UNIXTIME( 1249488000, '%YÄê%mÔ ......

cobar and mysql·Ö¿â×Ö¶ÎÎÊÌâ

    ½ñÌìµ÷³ÌÐò´ÓÊý¾Ý¿âÀïÈ¡Êý¾Ý£¬Ò»Ö±È¥²»³öÀ´£¬°ÑÈÕÖ¾Àï´ò³öÀ´µÄsql·Åµ½Êý¾Ý¿âÀïÈ¥Ö´ÐУ¬È´ÓÖÄÜ
È¡³öÊý¾ÝÀ´£¬ºÜÊÇÓôÃÆ¡£
    Êý¾Ý¿âÊÇmysqlµÄ£¬Ò»¹²128¸ö¿â£¬Í¨¹ýij¸ö×ֶηֿ⡣
    ºóÀ´·¢ÏÖÒª²éµÄÕâÌõÊý¾ÝµÄ·Ö¿â×ֶα»¸Ä¹ý£¬°´ÕÕ³ÌÐòÀïÖ´ÐеÄÈ¥²é£¬Ëû¾ÍÈ¥ÁËÁíÍâÒ»¸ö¿â ......

23±¾mysqlµç×ÓÊé


mastering Phpmyadmin

Beginning Php And Mysql³ÌÐòÉè¼Æ

Beginning PHP and MySQL from Novice to Professional 3rd Edition

Head First PHP MySQL

MySQLÈëÞ­µä

MySQL Stored Procedure Pr ......

CentOS LAMP»·¾³´î½¨ºÍ²âÊÔphpÓëmysqlµÄÁ¬½Ó


    * ÕªÒª£ºCentOS LAMP×÷Ϊ·þÎñÆ÷£¬²»°²×°²»ÐèÒªµÄ×é¼þ£¬ËùÒÔÔÚÑ¡Ôñ×é¼þµÄʱºò£¬²»ÒªÑ¡web·þÎñÆ÷£¬ÒòΪÎÒÃǺóÃæÒªÊÖ¶¯±àÒë°²×°¡£CentOS LAMPϵͳԼ¶¨RPM°üºÍÔ´Âë°ü´æ·ÅλÖÃ
    * ±êÇ©£ºCentOS LAMP
    *
      Oracle°ïÄú׼ȷ¶´²ì¸÷¸öÎïÁ÷ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ