c#操作mysql积累
1,连接字符串
Server=localhost;port=3306;User ID=root;password=admin;database=;charset=utf8;Allow User Variables=True
2,mysql str_to_date字符串转换为日期
select str_to_date('2008-4-2 15:3:28','%Y-%m-%d %H:%i:%s');
1,连接字符串
Server=localhost;port=3306;User ID=root;password=admin;database=;charset=utf8;Allow User Variables=True
2,mysql str_to_date字符串转换为日期
select str_to_date('2008-4-2 15:3:28','%Y-%m-%d %H:%i:%s');