今天,做了一个测试,目的是把sa口令丢失情况下重置。先停掉服务,而后修改Run_XXX.bat(XXX为服务名)。
我的实例如下:
rem
e:sybaseASE-12_5binsqlsrvr.exe -de:oadbmaster.dat -scq -ee:oadbcq.log -ie:sybaseini -Me:sybaseASE-12_5 -psa直接双击运行该批处理文件,启动数据库。控制台显示口令如下:
00:00000:00001:2005/11/08 15:43:23.56 server Database 'sybsystemprocs' is now online.
New SSO password for sa:bqsfwvnrpuiib8(此为新口令)
00:00000:00010:2005/11/08 15:43:23.67 kernel network name donnie, interface IPv4, address 10.185.1.107, type nlwnsck, port 5000, filter NONE
00:00000:00001:2005/11/08 15:43:23.85 server The wash size of the 2K buffer pool in cache default data cache has been changed from 1638 Kb to 984 Kb due to a change in the size of the pool.
00:00000:00001:2005/11/08 15:43:23.87 server Recovery has tuned the size of '16K' pool in 'default data cache' to benefit recovery performance. The original configuration will be restored at the end of recovery.