These two days by the title of the problem entangled, and finally solved the
The problems encountered at that time were as follows:
Sybase running on UNIX, code unknown, JSP page display query data Chinese garbled
Pageencoding and CharSet are set,
Build test database server, encountered a garbled problem, has not encountered before because the development of the database server is already installed and set up the character set, so some problems in the deployment test environment only appear
Data | database
Java Connection Sybase DatabaseThe first step: 工欲善其事, its prerequisite. (Download driver)Download JDBC Driver:URL: http://www.sybase.com/detail?id=1009726There are two kinds of jConnect6.0 and jConnect5.5, we download 6.0
Loading a backup to an existing database using load database can be either a database for creating a dump or not. The syntax is:
Load database database name from dump device name/physical file name
Load transaction database name from dump device
1. Change database owner
Typically, a user database is created by a system administrator, and its default owner is dbo. The system process Sp_changeddbowner can change the owner of the database, and it must be executed by the database administrator
A role is a collection of permissions.
1. System predefined roles
A real database administrator should be the owner of the entire server and its database, with all the permissions to administer the server and its databases. In a large system, the
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
The deadlock has an important effect on the performance and throughput of the system, and it is found that the deadlock of MIS is mainly because two or more threads (login) preempt the same table data resource. Causing a long time to preempt the
The database backup strategy plays an important role in maintaining the security of the system data, and the good backup strategy should consider the security of the data, and the operation is more convenient. The basic process is simple, as follows:
Build test database server, encountered a garbled problem, has not encountered before because the development of the database server is already installed and set up the character set, so some problems in the deployment test environment only appear
In a large database, performance has become one of the focus of attention, how to make the database efficient and efficient operation of the vast number of database managers and developers must consider the problem.
Performance is a measure of
I've been doing computers for years, big and small things also encountered a lot, can level is still very "food", this is not, I encountered a few days ago, difficult me for a while, the problem solved, but do not understand so, I shook it out,
Q. How do I solve one of the problems that the database is marked as "suspect" (general solution)?
A. Phenomenon: Error 926
Severity Level 14
Error message Text
Database ' xx ' cannot be opened-it has been marked suspect by recover explanation
(
1. Install initialization
When you initially install SQL Server, Setup and script initialize the main device and establish the master, model, tempdb, and Sybsystemprocs databases.
system databases, predefined devices, and segments are organized in
After our development team has increased to more than 10 people, the first connection can be connected due to the sharing of a database, and the last connection will not be connected. After searching for relevant information online, because Sybase
Garbled characters were encountered when building a test database server. It was not because the development database server had been installed and set up character sets long ago. Therefore, some problems occurred only when the test environment was
1. Export the database test completely, and the username System Password Manager is exported to D: daochu. dmp.
Exp system/manager @ test file = D: daochu. dmp full = y
2. Export the tables of system users and SYS users in the database
Exp
This article describes how to use Sybase's backup server to perform dump backup and restore the database.
First, use Sybase's backup server for dump backup
First, we will introduce the concept that dump database is a physical backup for the entire
After Sybase is installed, the program-Sybase contains the following items:
Dsedit Utility
Ocscfg Utility
SQL advantage
Sybase Central Java Edition
Server config
Sybase Software Asset Management (sysam)
To perform database operations, you must first
1. Start the server File In the install subdirectory of the Sybase directory.RUN_server (here the server represents your server name, for example, here I am RUN_FENGLB) Name, edit this file,Add the parameter "\ data \ master. dat-sFENGLB" to save
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.