ÈçºÎ°ÑmysqlÀïµÄÊý¾Ýµ¼Èëµ½sqlserverÀ
ÎÒÏë°ÑmysqlÀïµÄusers±íÀïÊý¾Ýµ¼Èëµ½sqlserverÀïµÄfs_me_users±íÀï
ÀïÃæµÄ×ֶξͲ»ÁгöÀ´ÁË ÊǶÔÓ¦µÃ¡£
ÓÃasp asp.net »òÕß Ö±½ÓsqlÓï¾ä¶¼ÐÐ
Çë½Ì¸÷λ¡£¡£¡£¡££¡
Õâ¸ö²»ÄÑ°É
1. asp.net µÄ»°,¶ÁÈ¡mysqlµÄ¼Ç¼¼¯,È»ºóÑ»·²åÈëmssql¾Í¿ÉÒÔÁË, mysqlÓÐado.netµÄÇý¶¯
2. »òÕßÓÃODBCÊý¾ÝÔ´, ÔÚmssqlÆóÒµ¹ÜÀíÆ÷ÉÏÊÖ¹¤µ¼Èë
ÎÒÒÔÇ°ÊÇÏȵ¼µ½accessÀÔÙ´ÓmssqlÀïµ¼ÈëÊý¾Ý£¬Ñ¡ÔñÕâ¸öaccessÎļþ¡£
mysqlµ¼µ½accessÀï²»Éٲ鿴mysqlµÄ¹¤¾ßÖ±½Ó´øÕ⹦ÄÜ
ÕâÀïµÄÈ˶¼ÊǸßÊÖ°¡£¬ÎÒÂäºóඣ¬°¥
ËäÈ»²»ÊÇJAVASCRIPTµÄÎÊÌâ
ÔÚ֮ǰҲÓöµ½ÀàËƵÄÎÊÌâ Çé¿öÊǹ«Ë¾µÄERPÊý¾Ý¿âÊÇSQL SERVERµÄ ¹«Ë¾ÍøÕ¾¾ÓÈ»ÓÃÁ˸öSHOPEX ÊÇMYSQLµÄÊý¾Ý¿â£¬Á½ÕßÖ®¼äÉÌÆ·Êý¾ÝÐèҪͬ²½ Ò²¾ÍÊÇSQL SERVERµÄÊý¾ÝÐèÒªµ¼Èëµ½MYSQL ûÓа²×°ODBCÏÂMYSQLµÄÇý¶¯ ×Ô¼ºÐ´¸öVBÏÈ°ÑÐèÒªµÄÊý¾Ý´ÓSQL SERVERÖе¼³öµ½Îı¾Îļþ£¬È»ºóÔÚд¸öPHP³ÌÐòÖ±½Ó¶ÁÈëMYSQL
°¥ ²»¹ýͦÂé·³µÄ ²»½¨ÒéÕâÑù×ö ºÇºÇ¡£
ÓÃexcelµ¼Â¶à·½±ãµÄ
¶¥Ò»Â¥µÄ¡£¡£¡£¡£...................
Ïà¹ØÎÊ´ð£º
ÎÒÊÇÓÃmysql×Ô´øµÄC API
if(mysql_real_connect(&mysql,"125.0.0.108","root","root","home",3306,NULL,0))
{
AfxMessageBox("Êý¾Ý¿âÁ¬½Óʧ°Ü") ......
ÎÒ¶ÔSQL SERVERºÍACCESS±È½ÏÊ죬ËùÒÔÊý¾Ý¿âµÄͨÓûù´¡¶«Î÷¿ÉÒÔ˵¶¼ÕÆÎյIJ¶àÁË£¬ÎÒÏÖÔÚÏëÒªµÄ¾ÍÊÇÒÔÉÏÁ½Êý¾Ý¿âµÄ¶ÀÌØÖ®´¦µÄ½éÉܺÍÓ¦ÓýéÉÜ¡£
ÁíÍâÊé×îºÃ¶ÔÓ¦×îа汾 oracleÊÇ11g°É 10µÄÒ²ÐУ»mysqlÊÇ5.1°É
л ......
ÔÚÊý¾Ý¿âÖÐÓÐÕÅ±í£¬ÓÐid,nameÁ½ÁУ¬id ÊÇÖ÷¼ü,ûÓÐÉèÖÃ×ÔÔöÊôÐÔ,ÔÚ³ÌÐòÖÐÈ¡³öÕâÕűí·ÅÈëdatatable£¬ÔÚÕâ¸ödatatableÖвåÈëÒ»Ìõ¼Ç¼£¬µ±¸üÐÂÊý¾Ý¿âʱÌáʾidÁв»ÄÜΪ¿Õ£¬ÇëÎʸÃÔõô½â¾ö£¿
¸øËüÒ»¸öÖµ£¡£¡Ö÷¼ü²»ÄÜΪ¿Õ ......
CREATE DATABASE ADDRESSLIST;
USE ADDRESSLIST;
DROP TABLE IF EXISTS FRIEND;
CREATE TABLE FRIEND
(FRIEND_ID INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY ,
FRIEND_NAME VARCHAR(20) NOT N ......
ÎÒ¼¸ÕÅmysql±í ·ÖÇø
È»ºó°Ñ·ÖÇø±íµ¥¶À¿½³öÀ´
ÀýÈ磺test.MYD test.MYI data.MYD data.MYI user.MYD user.MYI dem.MYD dem.MYI
ÎÒÏë¶ÁÈ¡ÕâËÄÕűíµÄÄÚÈÝ
¹ØÁªÊý¾ÝÕûºÏµ½Ò»ÕűíÖС£Õâ¸öÒªÔõô×öÄØ
ÓóÌÐòÔ ......