using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Text.RegularExpressions;using MySql.Data.MySqlClient;na...
分类:
数据库 时间:
2015-03-06 12:24:49
阅读次数:
154
转 http://www.jb51.net/article/43486.htmusing System;using System.Configuration;using MySql.Data.MySqlClient;/// /// TestDatebase 的摘要说明/// public class...
分类:
数据库 时间:
2015-01-06 15:16:29
阅读次数:
192
127.0.0.1与localhost与ip的区别May 18, 2014localhost不联网不使用网卡,不受防火墙和网卡限制本机访问一般使用本地套接字文件AF_UNIX应用程序一般约定使用localhost时优先查本地套接字连接. mysqlclient 与 mysqlserver 就是这样的...
分类:
其他好文 时间:
2014-12-19 08:06:34
阅读次数:
176
1. 1 using System; 2 using System.Collections; 3 using MySql.Data.MySqlClient; 4 5 namespace Helper 6 { 7 /// 8 /// MySQL连接池 9 /// 10 ...
分类:
数据库 时间:
2014-12-17 17:48:41
阅读次数:
234
查阅了一天的资料来学习MySql数据库连接池,终于在一遍博文上找到了,自己也整理了一下,希望对大家有用处1.建立线程池 1 using MySql.Data.MySqlClient; 2 using System; 3 using System.Collections; 4 using Sy...
分类:
数据库 时间:
2014-12-16 18:56:54
阅读次数:
3102
使用EF6连接MySql产生Exception:ProHub.ssdl(2,2) : 错误 0152: 未找到具有固定名称“MySql.Data.MySqlClient”的 ADO.NET 提供程序的实体框架提供程序。请确保在应用程序配置文件的“entityFramework”节中注册了该提供程序。...
分类:
数据库 时间:
2014-11-20 20:00:51
阅读次数:
2168
using MySql.Data.MySqlClient;using System;namespace ConsoleTest{ class Program { static string connectionString = "server=loca...
分类:
数据库 时间:
2014-11-19 12:18:10
阅读次数:
222
【现象说明】
C/S程序远程访问正常,本地访问报以下异常
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access...
分类:
数据库 时间:
2014-11-17 15:52:18
阅读次数:
408
1,虽然同样是实现了IDataReader接口,但是 对于MySql.Data.MySqlClient.MySqlDataReader 和System.Data.SqlClient.SqlDataReader来说GetSchemaTable 方法的返回结果是不同的以下是返回的datatable的结构...
分类:
数据库 时间:
2014-11-07 18:55:31
阅读次数:
301
http://zetcode.com/db/mysqlcsharptutorial/ MySQL C# tutorial0. first: add reference MySql.Dataaddusing MySql.Data.MySqlClient; 1. connect & selec...
分类:
数据库 时间:
2014-10-31 13:26:14
阅读次数:
218