資源簡(jiǎn)介
VB中通過(guò)MySQL C API函數(shù)庫(kù)(libmysql.dll)操作Mysql的簡(jiǎn)單入門例子,不需要MyODBC。包含了libmysql.dll庫(kù)。仔細(xì)研究吧!
重要說(shuō)明:用戶密碼只能用舊版格式,即數(shù)據(jù)庫(kù)中保存的密碼是16個(gè)字符的。可以用old_password重新設(shè)置。
mysql>use mysql;
mysql>update user set password=old_password("123") where user="abc";
這樣用戶abc,密碼123,可以在例程中使用了。
代碼片段和文件信息
評(píng)論
共有 條評(píng)論