sybase SA密码重置

 
sa 密码忘记解决之道: su - sybase cd ASE/install vi RUN_etoh2 在文件的末尾加入 -psa  
停止原数据库服务 
由于密码遗忘,所以只能通过kill进程停止服务 服务的进程可以通过showserver 查看 重新启动数据库服务 startserver -f RUN_etoh2 
在启动信息中查找关键字New SSO password for sa New SSO password for sa:wuypytfypocmy5 通过isql用以上密码wuypytfypocmy5登录服务 isql -Setoh2 -Usa -Pwuypytfypocmy5 密码重置成123456 
exec   sp_password   'wuypytfypocmy5', '123456', 'sa' go 停止服务 
shutdown with nowait go 
修改服务启动配置文件RUN_etoh2,去掉-psa   然后重新启动 vi RUN_etoh2 
startserver -f RUN_etoh2

原文地址:https://www.cnblogs.com/xumr/p/5305073.html