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

MySQLתÒå

MySQLʶ±ðÏÂÁÐתÒå×Ö·û£º    
   
  \0    
  Ò»¸öASCII   0   (NUL)×Ö·û¡£    
  \n    
  Ò»¸öÐÂÐзû¡£    
  \t    
  Ò»¸ö¶¨Î»·û¡£    
  \r    
  Ò»¸ö»Ø³µ·û¡£    
  \b    
  Ò»¸öÍ˸ñ·û¡£    
  \'    
  Ò»¸öµ¥ÒýºÅ(“'”)·û¡£    
  \"    
  Ò»¸öË«ÒýºÅ(“"”)·û¡£    
  \\    
  Ò»¸ö·´Ð±Ïß(“\”)·û¡£    
  \%    
  Ò»¸ö“%”·û¡£ËüÓÃÓÚÔÚÕýÎÄÖÐËÑË÷“%”µÄÎÄ×ÖʵÀý£¬·ñÔòÕâÀï“%”½«½âÊÍΪһ¸öͨÅä·û¡£    
  \_    
  Ò»¸ö“_”·û¡£ËüÓÃÓÚÔÚÕýÎÄÖÐËÑË÷“_”µÄÎÄ×ÖʵÀý£¬·ñÔòÕâÀï“_”½«½âÊÍΪһ¸öͨÅä·û¡£    
  ×¢Ò⣬Èç¹ûÄãÔÚijЩÕýÎÄ»·¾³ÖÐʹÓÓ\%”»ò“\%_”£¬ÕâЩ½«·µ»Ø×Ö·û´®“\%”ºÍ“\_”¶ø²»ÊÇ“%”ºÍ“_”¡£    
   
  Óм¸ÖÖ·½·¨ÔÚÒ»¸ö×Ö·û´®ÄÚ°üÀ¨ÒýºÅ£º    
   
  Ò»¸ö×Ö·û´®ÄÚÓÓ'”¼ÓÒýºÅµÄ“'”¿ÉÒÔ±»Ð´×÷Ϊ“''”¡£    
  Ò»¸ö×Ö·û´®ÄÚÓÓ"”¼ÓÒýºÅµÄ“"”¿ÉÒÔ±»Ð´×÷Ϊ“""”¡£    
  Äã¿ÉÒÔ°ÑÒ»¸öתÒå×Ö·û£¨“\”£©·ÅÔÚÒýºÅÇ°Ãæ¡£    
  Ò»¸ö×Ö·û´®ÄÚÓÓ"”¼ÓÒýºÅµÄ“'”²»ÐèÒªÌØÊâ¶Ô´ý¶øÇÒ²»±Ø±»Öظ´»òתÒ塣ͬÀí£¬Ò»¸ö×Ö·û´®ÄÚÓÓ'”¼ÓÒýºÅµÄÓë“"”Ò²²»ÐèÒªÌØÊâ¶Ô´ý¡£    


Ïà¹ØÎĵµ£º

MySQLƽ̨Êý¾Ý¿â±¸·Ý·½°¸Ïêϸ˵Ã÷

À´Ô´£ºccidnet.com ×÷ÕߣºSabine¡¡ ʱ¼ä£º2006-10-09
ÔÚÊý¾Ý¿â±í¶ªÊ§»òË𻵵ÄÇé¿öÏ£¬±¸·ÝÄãµÄÊý¾Ý¿âÊǺÜÖØÒªµÄ¡£Èç¹û·¢Éúϵͳ±ÀÀ££¬Äã¿Ï¶¨ÏëÄܹ»½«ÄãµÄ±í¾¡¿ÉÄܶªÊ§×îÉÙµÄÊý¾Ý»Ö¸´µ½±ÀÀ£·¢ÉúʱµÄ״̬¡£ÓÐʱ£¬ÕýÊÇMySQL¹ÜÀíÔ±Ôì³ÉÆÆ»µ¡£¹ÜÀíÔ±ÒѾ­ÖªµÀ±íÒÑÆÆ»µ£¬ÓÃÖîÈçvi»òEmacsµÈ±à¼­Æ÷ÊÔͼֱ½Ó±à¼­ËüÃÇ£¬Õâ¶Ô±í¾ø¶Ô²»ÊǼ ......

mysql ѧϰÊÖ¼Ç(1)

1.ÉèÖñäÁ¿
    set @x = 2;
    »ò:
    select @x := max(fields) as max from table;
2.Éú³Éhtml»òxml
    mysql -H -uroot -p databaseName        Éú³ÉhtmlÎļþ
    mysql -x -uroot -p databaseNam ......

mysql connect by c++

#include <stdio.h>
#include <windows.h>
#include <mysql.h>
#define host "localhost"
#define username "root"
#define password "123"
#define database "oa"
MYSQL *conn;
int main()
{
MYSQL_RES *res_set;
MYSQL_ROW row;
unsigned int i,ret;
FILE *fp;
MYSQL_FIELD *field; ......

mysql×Ö·û¼¯²é¿´ÒÔ¼°ÐÞ¸Ä

ת×Ô:http://blog.chinaunix.net/u2/85344/showart_2042280.html
LiunxÏÂÐÞ¸ÄMySQL×Ö·û¼¯£º
1.²éÕÒMySQLµÄcnfÎļþµÄλÖÃ
find / -iname '*.cnf' -print

/usr/share/mysql/my-innodb-heavy-4G.cnf
/usr/share/mysql/my-large.cnf
/usr/share/mysql/my-small.cnf
/usr/share/mysql/my-medium.cnf
/usr/share/mysql ......

mysqlÔÚºìÆìlinuxÏÂÈ«³Ì°²×°ÅäÖÃÏé½â

1¡¢ÏÂÔØMySQLµÄ°²×°Îļþ
°²×°MySQLÐèÒªÏÂÃæÁ½¸öÎļþ£º
MySQL-server-5.0.46.i386.rpm¡¡¡¡¡¡
MySQL-client-5.0.46.i386.rpm

2¡¢°²×°MySQL
rpmÎļþÊÇRed Hat¹«Ë¾¿ª·¢µÄÈí¼þ°²×°°ü£¬rpm¿ÉÈÃLinuxÔÚ°²×°Èí¼þ°üʱÃâ³ýÐí¶à¸´ÔÓµÄÊÖÐø¡£¸ÃÃüÁîÔÚ°²×°Ê±³£ÓõIJÎÊýÊÇ
ivh
,ÆäÖÐi±íʾ½«°²×°Ö¸¶¨µÄrmpÈí¼þ°ü£¬V±í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ