今天在win32下通过navicat
远程登录Mysql时出现如下错误:想都不用想,肯定是Mysql的访问权限问题。首先,通过终端(我用的是SSH)远程登录到Linux服务器,为了安全起见,先改一下Mysql数据的root用户密码:?1234567891011[plain]
[hadoop@h1 ~...
分类:
数据库 时间:
2014-05-26 02:00:26
阅读次数:
346
CentOS命令登录MySQL时,报错ERROR 1045 (28000): Access
denied for user root@localhost (using password: NO)错误解决方法1、停用mysql服务:#
/etc/rc.d/init.d/mysqld stop2、输入命...
分类:
数据库 时间:
2014-05-26 01:58:12
阅读次数:
306
命令格式: chmod [-cfvR] [--help] [--version] mode
file... [root@qs-wg-db2 ~]# chmod --helpUsage: chmod [OPTION]... MODE[,MODE]...
FILE... or: chmo...
分类:
其他好文 时间:
2014-05-26 01:49:55
阅读次数:
270
[回顾]:上集介绍了"调试程序","如何使用session","规范SQL语句"等15个问题(Php高手带路--问题汇总解答[1])。本集继续作出16条常见问题的解答。16:我想修改MySQL的用户,密码
首先要声明一点,大部分情况下,修改MySQL是需要有mysql里的root权限的, 所以...
分类:
Web程序 时间:
2014-05-26 00:11:02
阅读次数:
327
一切悲剧来源于写的Shell没有好好检查,执行后把开发机的根目录 /usr
目录给删除了,而且是root执行,众所周知,/usr目录里有大量的应用层程序,删除之后导致大量命令无法使用,如 ssh / rz / sz / nc /
wget /yum 等,不夸张地说,当时就要不行了。。好吧,首先想到的...
分类:
其他好文 时间:
2014-05-25 23:41:59
阅读次数:
322
Implementint sqrt(int x).Compute and return the
square root ofx.思路:二分查找法解决这道题class Solution {public: int sqrt(int x) { if(x1e-6)
{ ...
分类:
其他好文 时间:
2014-05-25 19:35:33
阅读次数:
225
Python
logging模块,logging模块是在2.3新引进的功能,用来处理程序运行中的日志管理。分享下该模块的一些常用的类和模块级函数。模块级函数logging.getLogger([name]):返回一个logger对象,如果没有指定名字将返回root
loggerlogging.deb...
分类:
编程语言 时间:
2014-05-25 19:15:46
阅读次数:
353
昨天同事在做主从时,从库报如下错误:Got fatal error 1236 from master when reading data from binary log: 'Misconfigured master - server id was not set'粗粗看好像是master的server-id没有设置,但同事做如下查询:备库采集:
root@localhost Fri May 23 ...
分类:
数据库 时间:
2014-05-25 09:57:24
阅读次数:
330
0.下载地址http://soft.macx.cn/2068.htm1.安装mysql-5.6......pkg2.安装mysqlstartup....pkg3.安装偏好mysql.prefpane安装后密码为root‘空’修改mysql密码/usr/local/mysql/bin/mysqladmin-urootpasswordnewPassWordmysqlmanageclient我选择:NavicatPremium
分类:
数据库 时间:
2014-05-25 05:08:43
阅读次数:
249
由于在eclipse下开发hadoop程序需要插件支持,而且hadoop报下已经没有插件了,所以需要我们自己编译,操作步骤如下1.进入D:\hadoop-1.2.1\src\contrib目录,找到build-contrib.xml文件,将hadoop.root改为hadoop解压目录。<propertyname="hadoop.root"location="D:\hadoop-1..
分类:
系统相关 时间:
2014-05-25 04:58:25
阅读次数:
298