我们在学校mysql的时候,在更新或者删除数据的时候,会遇到以下错误: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY c
分类:
数据库 时间:
2016-02-03 18:12:42
阅读次数:
301
在默认情况下,Mysql安装以后会在/tmp目录下生成一个mysql.sock文件,如该文件丢失则Mysql将不能够正常启动,解决方法:使用mysqld_safe 启动即可解决;
分类:
数据库 时间:
2016-02-02 16:44:30
阅读次数:
422
1. 启动MySql sudo /etc/init.d/mysql start 2. Warning: World-writable config file '/etc/mysql/conf.d/mysqld_safe_syslog.cnf' is ignored 解决方法:sudo chmod 6
分类:
数据库 时间:
2016-02-01 18:03:07
阅读次数:
166
CSI.SAFE.V2014.1.1中文版Runge.Talpac.V10.2.0.2 ARES.PRISM.G2.v3.6.26 Schlumberger.OLGA.2015.1.1.137230CONCEPTS.NREC.SUITE.V8.4.9.0(AXCENT,AXCENT,AXIAL,CO
分类:
其他好文 时间:
2016-01-28 12:25:15
阅读次数:
192
1.修改密码# /etc/init.d/mysqld stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> UPDATE user SET Passwo...
分类:
数据库 时间:
2016-01-24 00:39:44
阅读次数:
174
安装php(php-5.1.6.tar.bz2)cpphp-5.1.6.tar.bz2/homecd/hometarjxfphp-5.1.6.tar.bz2cdphp-5.1.6./configure--with-apxs2=/usr/local/apache/bin/apxs--disable-debug--enable-safe-mode--enable-trans-sid--with-xml--with-mysql--enable-short-tags--with-gd--with-zlib--..
分类:
Web程序 时间:
2016-01-21 15:56:44
阅读次数:
178
MySQL中root用户忘记密码找回方式:1、先关闭所有正在运行的mysqld进程:killallmysqld2、使用跳过授权表参数启动MySQL:mysqld_safe--skip-grant-tables--user=mysql&3、为root@localhost设置新密码:mysql-uroot-p//使用空密码登录数据库usemysql;//选择要操作的库名updat..
分类:
数据库 时间:
2016-01-20 22:46:28
阅读次数:
210
1.sql_safe_updates官方解释如下:If set to 1, MySQL aborts UPDATE or DELETE statements that do not use a key in the WHERE clause or a LIMIT clause. (Specifica...
分类:
数据库 时间:
2016-01-20 20:57:52
阅读次数:
178
1. 显示环境变量HOME$ echo $HOME/home/redbooks2. 设置一个新的环境变量hello$ export HELLO="Hello!"$ echo $HELLOHello!3. 使用env命令显示所有的环境变量$ envHOSTNAME=redbooks.safe.orgP...
分类:
系统相关 时间:
2016-01-12 11:46:43
阅读次数:
193
./configure --prefix=/usr/local/mysql \--without-debug \ #去除 debug 模式.--enable-thread-safe-client \ #以线程方式编译客户端.--with-pthread \ #强制使用 pthread 线程库编译.-...
分类:
数据库 时间:
2016-01-08 18:53:41
阅读次数:
224