How to restore the master device in sybase

Source: Internet
Author: User
The user cannot log on to the database because the syslogins table in the master database is deleted by mistake. However, if there is a backup of the master database, try to restore it. The following are the summary steps. 1. Back up the master database dumpdatabasemastertoe: \ ba

The user cannot log on to the database because the syslogins table in the master database is deleted by mistake. However, if there is a backup of the master database, try to restore it. The following are the summary steps. 1. Back up the master database dumpdatabasemastertoe: \ ba

Because the syslogins table in the master database is accidentally deleted, the user cannot log on to the database. The Hong Kong server is rented and the server space, but there is a backup of the master database. Try to restore the space in the United States. The following is a summary of the steps.

Dump database master to 'e: \ backup \ master. dat'

Sqlsrvr-d g: \ master. dat-b500M

Sqlsrvr-dg: \ master. dat-sDY-eg: \ sybase \ ASE-12_5 \ install \ errorlog-ig: \ sybase \ ini-Mg: \ sybase-m

-S service name

-E Error Log File Name

-I interface file directory

Alter database master on master = '280m'

Note that you can directly update the system table without the need for sp_configure 'Allow Update', 1

Select * from sysservers

Update sysservers set srvnetname = 'crm _ bs 'where srvid = 1

7 load master database backup

Load database master from 'e: \ backup \ master. dat'

This article is from the "myblog" blog. Be sure to keep this source

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.