1.停用mysql服务:# /etc/rc.d/init.d/mysqld stop 2.输入命令:# mysqld_safe --user=mysql --skip-grant-tables --skip-networking & 3.登入数据库:# mysql -u root mysql 4.mysql> use mysql; 结果如下: Database changed 5.mysql> UPDATE user SET Password=PASSWORD('newpassword
oracle centos 重启后报错ORA-12514, TNS:listener does not currently know of service requested in connect descriptor 1.查看监听状态lsnrctl start 2.通过sqlplus / as sysdba ,执行startup来启动数据库,发现报错,initORCL.ora不存在. 3.进入对应目录,打开spfileorcl.ora,发现db_name=orcl, 4.查看环境变量 cat
一. 安装是用户管理: sqlplus /nolog; connect /as sysdba; alter user sys identified by change_on_install; alter user system identified by manager; alter user scott identified by tiger; (默认scott锁定)(scott用户中有emp dept等表) alter user scott account unlock; 二. Oracl
声明:本文为博主在做项目中用到的一些常用命令,请勿转载,只为保存. oracle常用命令总结 创建表空间: --create tablespace vms--datafile 'e:\vms.dbf'--size 32000M--extent management local uniform size 100M;drop user c##vms;create user c##vms identified by vms2014default tablespace vms; 删除表空间 DROP T
原文地址: 处理Oracle EBS R12登录首页跳转出现unexpected error问题 经上网搜索,造成此问题的问题有很多,如内存不足.系统参数配置不当.程序代码.系统表空间不足等原因.查询Apache日志$LOG_HOME/ora/10.1.3/Apache,发现error_log里提示mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://