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

mysql Îļþ¶ÁÈ¡ - ÆäËûÊý¾Ý¿â¿ª·¢ / MySQL/Postgresql

ÎÒ¼¸ÕÅmysql±í ·ÖÇø
È»ºó°Ñ·ÖÇø±íµ¥¶À¿½³öÀ´ 
ÀýÈ磺test.MYD test.MYI data.MYD data.MYI user.MYD user.MYI dem.MYD dem.MYI
ÎÒÏë¶ÁÈ¡ÕâËÄÕűíµÄÄÚÈÝ
¹ØÁªÊý¾ÝÕûºÏµ½Ò»ÕűíÖС£Õâ¸öÒªÔõô×öÄØ
ÓóÌÐòÔõôÀ´ÊµÏÖÄØ£¿

(ÓÃmysqlµÄapi£¿Ë­ÓÃC++µÄ£¬ÄÜÌṩµãÀý×Ó×îºÃÁË)

ר¼Ò ¸ßÊÖ ÓÐ×öµÄ ÅóÓÑÃÇ Ö¸µãÏÂ

http://dev.mysql.com/doc/refman/5.1/zh/apis.html#libmysqld

±ðÈËÌṩµÄÎĵµ ¿ÉÊÇ¿´µÄ²»Ã÷°×

²»ÖªµÀÄãÏëʵÏÖʲô£¿

ÄãµÄÕ⼸¸ö±íÒ²²»ÊÇ·ÖÇø±íÖеIJ¿·Ö¡£¿´Ãû×ÖÊÇÍêÕûµÄ±íÊý¾Ý¡£

ÒýÓÃ
²»ÖªµÀÄãÏëʵÏÖʲô£¿

ÄãµÄÕ⼸¸ö±íÒ²²»ÊÇ·ÖÇø±íÖеIJ¿·Ö¡£¿´Ãû×ÖÊÇÍêÕûµÄ±íÊý¾Ý¡£

ʵÏÖµÄģʽÈçÏÂ
ÎÒËÄÕÅ±í ¶¼ÊÇÓ÷ÖÇøµÄ 
ÎÒ°ÑËÄÖÖ±íµÄ·ÖÇøÎļþ¿½³öÀ´ ±ÈÈçÊÇtest#P#p0.myd test#P#p0.myi user#P#p0.myd user#P#p0.myi data#P#p0.myd data#P#p0.myi dem#P#p0.myd dem#P#p0.myi
²»Òªµ¼Èëmysql È¥²é¿´(Õâ¸öÊÇ¿ÉÒԲ鿴µÄ)
¶øÊÇÏëÖ±½Óµ÷ÓÃmysqlµÄapiÈ¥¶ÁÈ¡ËüµÄÄÚÈÝ È»ºó°ÑËÄÕűíÄÚÈݸø¹ØÁªÆðÀ´
Õûµ½Ò»Õűí

ʵÏÖµÄģʽÈçÏ 
ÎÒËÄÕÅ±í ¶¼ÊÇÓ÷ÖÇøµÄ 
ÎÒ°ÑËÄÖÖ±íµÄ·ÖÇøÎļþ¿½³öÀ´ ±ÈÈçÊÇtest#P#p0.myd test#P#p0.myi user#P#p0.myd user#P#p0.myi data#P#p0.myd data#P#p0.myi dem#P#p0.myd dem#P#p0.myi 
²»Òªµ¼Èëmysql È¥²é¿´(Õâ¸öÊÇ¿ÉÒԲ鿴µÄ) 
¶øÊÇÏëÖ±½Óµ÷ÓÃmysqlµÄapiÈ¥¶ÁÈ¡ËüµÄÄÚÈÝ È»ºó°ÑËÄÕűíÄÚÈݸø¹ØÁªÆðÀ´ 
Õûµ½Ò»Õűí

»è£¬ÄãÊÇ˵³ÌÐò·ÃÎÊ°É£¿myconnector£¿mysql++¶¼¿ÉÒÔ°¡£¬otlÀïÃæÒ²·â×°ÁËmysqlµÄodbc·ÃÎÊ£¬ºÜ·½±ã
{{


Ïà¹ØÎÊ´ð£º

c,c++Á¬½Ómysql ÕÒ²»µ½Í·²¿Îļþ£¨ÐÂÊÖ£©

±àÒëÆ÷£ºC-Free4
mysql µ¥¶À°²×°µÄ£¬ÏÖÔÚΪapache+php+mysql¿ÉÒÔʹÓá£
×î½üÔÚÁ·Ï°c£¬c++£»ÏëÓÃc£¬c++Á¬½ÓÏÂÎÒµÄmysql£¬ºÃ¶àµØ·½¶à˵mysql.hÕÒ²»µ½¡£¶øÇÒÎÒmysqlûÓÐËùνµÄincludeÎļþ¼Ð°¡¡£
Íü¸ßÊÖÖ¸µãÒ»¶ ......

mysqlÁ¬½Ótomcat - Java / Web ¿ª·¢

ÎÒÒѾ­°´Õս̳ÌÉÏÅäÖÃtomcatµÄserver.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......

mysqlÖÐÎÄÂÒÂë - ÆäËûÊý¾Ý¿â¿ª·¢ / MySQL/Postgresql

ÔÚC++³ÌÐòÖÐͨ¹ýmysqlµÄC APIÖ±½ÓÁ¬½ÓÊý¾Ý¿â£¬µ±°ÑÖÐÎIJåÈëmysqlµÄʱºò£¬¾Í±ä³ÉÂÒÂëÁË.
»¹ÓоÍÊÇʹÓÃload°ÑÎı¾Îļþµ¼ÈëmysqlÊý¾Ý¿â£¬ÎÞÂÛÎı¾ÎļþÊÇANSI±àÂ뻹ÊÇutf8±àÂ룬µ¼ÈëÖ®ºó¶¼ÊÇÂÒÂë¡£
ÆäÖÐmysqµÄ±àÂë¸ñʽ ......

MysqlЧÂÊÎÊÌâ - ÆäËûÊý¾Ý¿â¿ª·¢ / MySQL/Postgresql

±í
CREATE TABLE `ch1` (
  `id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT,
  `no` int(10) unsigned DEFAULT NULL,
  `dtime` datetime DEFAULT NULL,
  PRIMARY KEY (`id ......

MySQL Errno : 1064 PHPCMS2008ÎÊÌâ

PHPCMSÆóÒµ»ÆÒ³2008·ÖÒ³ÎÊÌâ
ÎÒÓÃÒÔÏ·½Ê½Çóƽ¾ùÊý
  {get sql="SELECT DISTINCT c.*,
(select round(avg(sort1)) from `phpcms_yp_dp` where userid=c.userid) avgsort1,
(select round(avg(avgp ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ