系统centOS-6.3
方法操作很简单,如下:
# /etc/init.d/mysql stop
# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# mysql -u root mysql
# mysql>use mysql ;
mysql> UPDATE user SET Password=PAS...
分类:
数据库 时间:
2014-06-05 02:54:40
阅读次数:
331
今天在centOS下装mysql时出现了一个错误:
解决方案就是如图所示kill 4734 kill 4839
最后再执行[root@localhost src]# service mysql start就可以了...
分类:
数据库 时间:
2014-06-05 02:03:02
阅读次数:
409
Windows操作系统下:mysql数据源配置:(对应coreseek-3.2.13-win32/etc/csft_mysql.conf)
#源定义
source mysql
{
type = mysql #表示使用mysql数据源
sql_host = localhost #表示数据库服务器的链接地址
sql_user = root...
分类:
其他好文 时间:
2014-06-05 01:14:12
阅读次数:
254
严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/sshnews,J2EEApplication=none,J2EEServer=none
还有其他报错,大概意思就是不支持版本 version 51,unable to load class org.glassfish.jersey.servlet...
分类:
移动开发 时间:
2014-06-03 05:07:20
阅读次数:
295
ssh 免密码登录
1. ssh-keygen -t rsa
三次回车
2. cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
3. 验证 ssh localhost 如果不需要密码登录,表示设置成功
4. 面密码登录其他机器
ssh-copy-id -i hostname
注意:hostname必须在...
分类:
系统相关 时间:
2014-06-03 02:45:49
阅读次数:
353
前面介绍了linux的ssh远程登录协议和ssh无密码登录方式,这里通过secureCRT和putty来看一下具体的密钥登录,也算做个备忘录吧。
1.linux下创建密钥对
还记得前面说的怎么创建密钥对吧:
[sshtest@localhost ~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Ente...
-bash:warning:setlocale:LC_CTYPE:cannotchangelocale(EN_US.UTF-8)
把linux系统从中文设置英文字符集后发生以下报错
首先本系统字符集为中文UTF-8
[root@localhost~]#more/etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
修改为英文UTF-8
[root@localhost~]#vim/etc/sysconfig/i..
分类:
其他好文 时间:
2014-06-02 14:49:19
阅读次数:
203
启动:net start mySql;
进入:mysql -u root -p 或者 mysql -h localhost -u root -p databaseName;
列出数据库:show databases;
选择数据库:use databaseName;
列出表格:show tables;
显示表格列的属性:show columns from tableName;...
分类:
数据库 时间:
2014-06-01 09:44:18
阅读次数:
301
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ sqlplus '/as sysdba'
SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 22 17:10:52 2014
Copyright (c) 1982, 2009, Oracle. All rights re...
分类:
数据库 时间:
2014-06-01 09:02:31
阅读次数:
802
登录RMAN 报ORA-12162:TNS:net service name is incorrectly specified错误
[oracle@localhost admin]$ date
Tue Apr 22 18:06:16 CST 2014
[oracle@localhost admin]$ rman target /
//出现诡异的ora-12162错误,第一反应是TN...
分类:
Web程序 时间:
2014-05-31 22:31:38
阅读次数:
518