学习C++服务端一:MySql与C++
mysql学习:
http://www.cnblogs.com/cy163/archive/2008/10/16/1312277.html
http://developer.51cto.com/art/201002/182449.htm
http://www.oschina.net/code/snippet_33669_9176/
mysql 授权:
grant select,insert,update,delete on *.* to root@“%” Identified by “abc”;
flush privileges;
或者
grant all on *.* to 'root'@'%' Identified by “abc”with grant option;
flush privileges;
mysql和C++结合(http://wenku.baidu.com/view/c7e42915a2161479171128e4.html够详细!)
1、下载安装mysql,
2、项目属性下配置好要导入的.h(mysql的安装目录include)和.lib。并在项目头文件中导入mysql库 如:include"mysql.h",
3、将libmySQL.lib、libmySQL.dll拷贝到项目下,
然后就可以用mysql类了,就放手学习用它的接口,练练手∪
C++服务端与C++客户端连接
http://zhidao.baidu.com/link?url=Lb9umEpXUNtrxDo_78ea9XA9JIqn1BU64vUbHZt6n95u9l67-wiuiFfZhXj4NmhypUlrXiecKdmVu-dr0-szka