sql server 2000 安装 中 出现 :command line option syntax error,type comman... sql server 2000 安装 中 出现 :command line option syntax error,type command/? for help解决方法 当 安装 程序 安装 到: 安装 程序正在 安装 ms数据访问组件 时,屏幕
sql server 2000安装中出现:command line option syntax error,type comman...
sql server 2000安装中出现:command line option syntax error,type command/? for help解决方法
当安装程序安装到:
安装程序正在安装ms数据访问组件
时,屏幕出现错误提示:
无法找到动态连接库sqlunirl.dll于指定路径“…\sqlunirl.dll”(超级长的路径!)
点确定后安装程序停止运行,查看安装日志。
解决方法:
引起这问题的原因是,SQLServer的安装文件,放在中文目录下.
将SQLServer的安装文件,拷到英文目录,安装就OK
比如将:
D:\软件\Sqlserver
中的"软件"去掉.或者直接改为“英文名称”如“soft“这样子,安装完SQL再改为原来的名字即可。
=============================================================
如果还是不行
看看您的用户名是不是中文的,改成英文的吧。这个用户名指的就是您登录windows的时候使用的用户名,系统默认的是administrator。
您不舍的修改这个用户名?那就重新创建一个英文的用户吧,用这个用户登录然后安装就行了。
其原因在于:
软件在安装的时候会先解压,生成一些临时文件,系统调用这些文件进行安装。
有时候这些文件放在当前的目录下,有时候放在“C:\Documents and Settings\用户名\Local Settings\Temp”文件夹中,
这时候如果您的“用户名”是中文的话,就可能失败了。看来还是支持中文不够好啊!无奈!
==================================================
SQL Server 1069 错误(由于登录失败而无法启动服务)解决方法
解决办法如下:
控制面板->管理工具->服务,找到MSSQLSERVER服务,右键->属性->登录,选中“本地系统帐户”,确定
然后重新打开企业管理器就可以了
电脑安装SQL出现错误: command line option syntax error!type command /? for help
都说是安装目录是中文引起的,可是我检查了好几遍我的安装目录的确是英文的
一、情况说明
SQL Server 2000以前的版本,例如7.0一般不存在多个版本,只有标准版跟桌面版,用户如果不清楚该装什么版本的话,可按安装上的
安装先决条件指示安装,一般在WIN2000 服务器版上装标准版,其他的系统装桌面版的就可以;而SQL Server 2000安装问题就比较大,时常
见到的问题如下:
1、配置服务器时中断.
2、注册 ActiveX 时中断.
3、显示到100%的时候中断.
4、提示:command line option syntax error, type command /? for help,继续安装,最后在配置服务器的时候出现:无法找到动态链接
SQLUNIRL.DLL于指定的路径……
5、以前进行的程序创建了挂起的文件操作,运行安装程序前,必须重新启动
二、情况1,2,3的解决办法:
提醒:为避免误操作,先备份注册表和数据库进不了SQL Server 2000,可以备份C:Program Files\Microsoft SQL Server\Mssql\Data
(默认路径)文件夹的文件.
1)、先把SQL Server卸载(卸载不掉也没有关系,继续下面的操作);
2)、把Microsoft SQL Server文件夹整个删掉;
3)、运行注册表,删除如下项:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MssqlServer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MssqlSERVER
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLSERVERAGENT
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MssqlSERVERADHELPER
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server
4)、需要的话就重新启动系统;
5)、重新安装。
另外也可尝试单步运行安装 SQL Server 2000的方法:
1)、放入 SQL Server 2000 光盘.
2)、在"开始"--"运行"键入 "F:\x86\setup.exe k=dbg" (F是光盘)
注意:
1)、不同的操作系统支持的SQL Server 2000版本(参见:SQL Server 2000 各版本的区别简介及版本情况查询一文)。
Windows 2000 Server可以安装SQL Server 2000的任何版本.
Windows 2000 Professional只能安装SQL Server 2000的个人版、开发版、评估版、MCDE
2)、SQL Server 2000各版本以及对软硬件的要求(参见:SQL Server 2000 的硬件和软件安装要求一文)。
三、情况4的解决办法
因为安装文件的路径(完整路径)里有中文.
比如 c:\SQLSERVER中文企业版\
改成 c:\SQLSERVER\
四、情况5的解决办法
1)、重启机器,再进行安装,如果发现还有该错误,请按下面步骤;
2)、在开始--运行中输入regedIT;
3)、到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager位置找到
PendingFileRenameOperations项目,并删除它。这样就可以清除安装暂挂项目。
4)、选择文件--倒出,保存;
5)、在右边窗口右击PendingFileRenameOperations,选择删除,然后确认;
6)、重启安装,问题解决
五、如果问题依旧,试试先修复操作系统:
命令提示符下执行: sfc /scannow 。
最后的方法:换 Windows 2000 安装盘和 SQL Server 2000 安装盘,有时候问题的原因很奇怪,有人曾更换了一个电源就解决了问题。
1)、先卸载您的 SQL Server 2000,必要的时候删除 Program Files\Microsoft SQL Server 文件夹;
2)、打开注册表;
在"开始"--"运行"键入"regedIT"
3)、按下列顺序点击打开;
+ HKEY_LOCAL_MACHINE
+ SOFTWART
+ Microsoft
+ Windows
+ CurrentVersion
+ Setup
+ ExceptionComponents
4)、将 ExceptionComponents 下面的文件夹全部删除;
如 {60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}
5)、重新启动;
6)、重新安装 SQL Server 2000 。
六、其他说明
1)、Windows目录中的SQLstp.log文件,该文件列出了安装程序所执行的操作的详细信息,并包含安装期间遇到的所有错误。
通过检查该文件,可以详细了解安装在什么地方失败、为什么失败。
2)、SQL安装的时的错误信息保存在一个叫Errorlog的日志文件中,默认情况下该文件位于Program Files\Microsoft SQL Server\Mssql\Log
目录中。该错误日志包含安装程序试图启动SQL-Server时SQL-Server所遇到的错误,这些信息可以帮助您深入检查错误原因。
3)、需要检查的另一个组件是Microsoft数据访问组件(MDAC)安装程序,它作为SQL-Server2000安装程序的一部分启动。
SQL-Server2000安装程序会安装MDAC2.6。MDAC安装程序会创建名为DASEtup.log的单独的日志文件;您可以查看此日志文件并确保MDAC
安装程序没有出现问题。
SQL或msde安装问题-Command line option syntax error. Typ
SQL 2000安装问题--Command line option syntax error
当安装程序安装到:
安装程序正在安装ms数据访问组件
时,屏幕出现错误提示:
---------------------------
SQL Redist
---------------------------
Command line option syntax error. Type Command /? for Help.
---------------------------
确定
---------------------------
然后点确定继续,安装程序开始复制文件,复制完文件后又出现错误提示:
无法找到动态连接库sqlunirl.dll于指定路径“…\sqlunirl.dll”(超级长的路径!)
点确定后安装程序停止运行,查看安装日志。
解决方法:
引起这问题的原因是,SQLServer的安装文件被放在了中文目录下.
将SQLServer的安装文件,拷到英文目录,安装就OK
比如将:
“D:\Sqlserver安装盘”中的"安装盘"去掉。就行了!
什么?还是不行?!别急,嘿嘿。
看看您的用户名是不是中文的,改成英文的吧。这个用户名指的就是您登录windows的时候使用的用户名,系统默认的是administrator。
您不舍的修改这个用户名?那就重新创建一个英文的用户吧,用这个用户登录然后安装就行了。
再多嘴说一说原因吧:
软件在安装的时候会先解压,生成一些临时文件,系统调用这些文件进行安装。有时候这些文件放在当前的目录下,有时候放在“C:\Documents and Settings\用户名\Local Settings\Temp”文件夹中,这时候如果您的“用户名”是中文的话,就可能失败了。看来还是支持中文不够好啊!无奈!
问题现象:安装SQL SERVER2000数据库时提示:command line option syntax error,type command/? for help
如下图所示:
解决方案:
1、安装目录存在中文,如安装在 D:\数据库2000\
2、操作系统用户名为中文,导致环境变量路径为中文,可以修改操作系统用户名或者环境变量,具体操作方法如下:
a.修改操作系统用户名:
“开始”-“控制面板”-“用户账户”- 点中要修改的中文用户- 点击“更改名称”-将中文名称修改为英文,点击改变名称,重启电脑后重新安装。
b、更改操作系统环境变量方法如下:
右击“我的电脑”-“属性”-“高级”-“环境变量”,
先选择 TEMP 点击编辑,修改为D:\temp,再选择TMP点击编辑,修改为D:\temp(修改时需要注意在英文输入状态,切勿将D: 输成 D:)
修改好后如下图所示:
接下来在D盘下新建一个TEMP的文件夹(注意一定要新建此文件夹,否则还是会出错)。一切操作完毕后重启电脑重新安装。
3、由于之前安装过数据库可能会有残留文件在操作系统中,重新启动电脑后如果出现问题请参考:如何彻底删除SQL SERVER数据库!

InnoDBBufferPool reduces disk I/O by caching data and indexing pages, improving database performance. Its working principle includes: 1. Data reading: Read data from BufferPool; 2. Data writing: After modifying the data, write to BufferPool and refresh it to disk regularly; 3. Cache management: Use the LRU algorithm to manage cache pages; 4. Reading mechanism: Load adjacent data pages in advance. By sizing the BufferPool and using multiple instances, database performance can be optimized.

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

MySQL is worth learning because it is a powerful open source database management system suitable for data storage, management and analysis. 1) MySQL is a relational database that uses SQL to operate data and is suitable for structured data management. 2) The SQL language is the key to interacting with MySQL and supports CRUD operations. 3) The working principle of MySQL includes client/server architecture, storage engine and query optimizer. 4) Basic usage includes creating databases and tables, and advanced usage involves joining tables using JOIN. 5) Common errors include syntax errors and permission issues, and debugging skills include checking syntax and using EXPLAIN commands. 6) Performance optimization involves the use of indexes, optimization of SQL statements and regular maintenance of databases.

MySQL is suitable for beginners to learn database skills. 1. Install MySQL server and client tools. 2. Understand basic SQL queries, such as SELECT. 3. Master data operations: create tables, insert, update, and delete data. 4. Learn advanced skills: subquery and window functions. 5. Debugging and optimization: Check syntax, use indexes, avoid SELECT*, and use LIMIT.

MySQL efficiently manages structured data through table structure and SQL query, and implements inter-table relationships through foreign keys. 1. Define the data format and type when creating a table. 2. Use foreign keys to establish relationships between tables. 3. Improve performance through indexing and query optimization. 4. Regularly backup and monitor databases to ensure data security and performance optimization.

MySQL is an open source relational database management system that is widely used in Web development. Its key features include: 1. Supports multiple storage engines, such as InnoDB and MyISAM, suitable for different scenarios; 2. Provides master-slave replication functions to facilitate load balancing and data backup; 3. Improve query efficiency through query optimization and index use.

SQL is used to interact with MySQL database to realize data addition, deletion, modification, inspection and database design. 1) SQL performs data operations through SELECT, INSERT, UPDATE, DELETE statements; 2) Use CREATE, ALTER, DROP statements for database design and management; 3) Complex queries and data analysis are implemented through SQL to improve business decision-making efficiency.

The basic operations of MySQL include creating databases, tables, and using SQL to perform CRUD operations on data. 1. Create a database: CREATEDATABASEmy_first_db; 2. Create a table: CREATETABLEbooks(idINTAUTO_INCREMENTPRIMARYKEY, titleVARCHAR(100)NOTNULL, authorVARCHAR(100)NOTNULL, published_yearINT); 3. Insert data: INSERTINTObooks(title, author, published_year)VA


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Atom editor mac version download
The most popular open source editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

Zend Studio 13.0.1
Powerful PHP integrated development environment