# /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> UPDATE user SET Password=PASS ...
分类:
数据库 时间:
2016-07-21 17:33:05
阅读次数:
164
OSSEC安装结束后运行,运行以下命令却抛错 具体抛错内容: It is not safe to rely on the system解决方法,其实就是时区设置不正确造成的,解决方法就是在/etc/php.ini里加上找到date.timezone项, 设置date.timezone = "Asia ...
分类:
Web程序 时间:
2016-07-19 15:33:23
阅读次数:
155
Processes
进程
Process lifecycle
进程生命周期
Threads
线程
Worker threads
工作线程Thread-safe
methods 线程安全方法
Interprocess Communication
进程间通信
When an ap...
MySQL安全小技巧,后面会慢慢补充。mysql命令行有个参数-U,--safe-updatesOnlyallowUPDATEandDELETEthatuseskeys.表示安全的更新,就是说delete或者update数据的时候,必须加上条件,不然就报错。如下图:我们可以做个别名echo‘aliasmysql="mysql-U"‘>>/etc/profilesourc..
分类:
数据库 时间:
2016-07-14 19:42:39
阅读次数:
249
在讲可重复函数与线程安全之前先来了解什么是可重复函数和线程安全。可重复函数:在多线程或有异常控制流的情况下,当某个函数运行到中途时,控制流(也就是当前指令序列)就有可能被打断而去执行另一个函数.而"另一个函数"很有可能是它本身.,如果在这种情况下不会出现问题,比如说..
分类:
编程语言 时间:
2016-07-13 23:34:00
阅读次数:
1118
mysql -u root -p 方法一: # /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> UPDATE ...
分类:
数据库 时间:
2016-07-13 01:02:05
阅读次数:
225
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_tim ...
分类:
Web程序 时间:
2016-07-12 18:53:48
阅读次数:
248
今天遇到一个mysql错误: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe ...
分类:
数据库 时间:
2016-07-11 18:51:21
阅读次数:
209
Windows版的PHP从版本5.2.1开始有Thread Safe(线程安全)和None Thread Safe(NTS,非线程安全)之分,这两者不同在于何处?到底应该用哪种?这里做一个简单的介绍。从2000年 10月20日发布的第一个Windows版的PHP3.0.17开始的都是线程安全的版本, ...
分类:
编程语言 时间:
2016-07-07 23:50:38
阅读次数:
141
We see this issue quite regularly as we use MAPI and lots of our users run our application on TS. Office (and Outlook in particular) is not DEP safe o ...
分类:
其他好文 时间:
2016-07-06 01:48:01
阅读次数:
231