摘要:
环境:mysql6.0 、Navicat Premium用户名:root 密码:123456 本地连接无问题远程连接mysql的时候应该碰到Navicat Premium 报错。错误代码是1130,ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server (无法给远程连接的用户权限问题)查看问题: 输入密码:******输入:use mysql; (此DB存放MySQL的各种配置信息)输入:select host,user from user;(查看用户的权限情况)由此可以看出,只能以loca 阅读全文
摘要:
随着工作的需要,也算是写一个为自己留着的帮助文档吧。System.DateTime currentTime=new System.DateTime(); //实例化一个 datetime 对象当前 年月日时分秒 currentTime=System.DateTime.Now;当前 年 int 年=currentTime.Year;当前 月 int 月=currentTime.Month;当前 日 int 日=currentTime.Day;当前 时 int 时=currentTime.Hour;当前 分 int 分=currentTime.Minute;当前 秒 int 秒=currentTi 阅读全文