Ways to modify the Sybase database sa password

Source: Internet
Author: User
Tags sybase sybase database

Problem Description:

You cannot start Sybase Center on Unix and some systems, so how do you modify the sa password in this case, and use this method to place the sa password blank if we do not need a password

Solution:

$isql -Usa -P1222 -SSYBASE
1>sp_configure "upgrade version"
2>go

#记录打印的版本号, my system version is 11920 (Sybase 11.9.2).

1>sp_configure "upgrade version",492
2>go

#更改版本号为492

1>sp_password '123456',NULL,sa
2>go

#修改密码将123456密码置为空

1>sp_configure "upgrade version",11920
2>go

#更改版本号为原来的版本号

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.