Home > Database > Mysql Tutorial > body text

sql2008安装后服务器改名造成名称不一致

WBOY
Release: 2016-06-07 17:43:29
Original
1206 people have browsed it

用select @@servername和select serverproperty('servername')一查看服务器名是否一致 如果不一致,则以serverproperty('servername')为准 解决办法: exec sp_dropserver @server = ‘服务器名’ exec sp_addserver @server = ‘服务器名’, @local = 'LOCA

用select @@servername和select serverproperty('servername')一查看服务器名是否一致

如果不一致,则以serverproperty('servername')为准

解决办法:

exec  sp_dropserver  @server  =  ‘服务器名’
exec  sp_addserver  @server  =  ‘服务器名’,  @local  =  'LOCAL'
重启sql2008数据库服务,香港虚拟主机,香港空间,后再次检查是否一致 ,网站空间

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template