随笔分类 - js
javascript编程常见问题
摘要:1、初始化root密码进入mysql数据库1mysql>update user set password=PASSWORD(‘123456’) where User='root';2、允许mysql远程访问,可以使用以下三种方式:a、改表。1234mysql -u root –pmysql>use mysql;mysql>update user set host = '%' where user ...
阅读全文
摘要:今天做时间范围的初始化设定,开始时间是当前时间的前一个月,终于找到完美的解决方案了。Date.prototype.format=function(format){varo={"M+":this.getMonth()+1,//month"d+":this.getDate(),//day"h+":thi...
阅读全文