
GaussDB(DWS) Windows客户端gsql使用说明：
1、根据系统类型选择gsql
    Windows 7：
        开始菜单，右击我的电脑，选择属性。
        系统下查看系统类型。
    Windows 10 and Windows 8：
        开始菜单，选择设置 > 系统 > 关于。
        右侧设备规格下查看设备类型。
    32位操作系统选择x86文件夹，64位系统选择x64文件夹。
2、配置环境变量
    以下两种方式任选一种，
    1）设置临时环境变量
        打开cmd，执行set path=<window gsql>;%path%，其中<window gsql>为上一步骤解压Windows gsql客户端的文件夹路径。例如：
        set path=C:\Users\xx\Desktop\dws_8.1.x_gsql_for_windows\x64;%path%
    2）设置系统环境变量
        控制面板->系统->高级系统设置->高级->环境变量->Path，在系统环境变量Path中增加gsql路径。
3、测试是否正常
    在cmd窗口执行gsql -?后正常输出保证信息即可。
更多使用技巧请查看产品资料。


Usage of gsql on GaussDB (DWS) Windows client:
1. Select gsql based on the system type.
    Windows 7：
        Select the Start button Start button icon, right-click Computer, and then select Properties.
        Under System, see the system type.
    Windows 10 and Windows 8：
        Select the Start button, then select Settings > System > About
        At the right, under Device specifications, see System type.
    Select the x86 folder for the 32-bit OS and the x64 folder for the 64-bit OS.
2. Configure environment variables.
    Use either of the following methods，
    1) Set temporary environment variables.
        Run the set path=<window gsql>;%path% command in the cmd window. That <window gsql> indicates the folder
        where the Windows gsql client is decompressed. For example:
        set path=C:\Users\xx\Desktop\dws_8.1.x_gsql_for_windows\x64;%path%
    2) Set system environment variables.
        Control Panel -> System > Advanced System Settings > Advanced > Environment Variables > Path, and add the gsql
        path to the system environment variable Path.
3. Check whether the test is normal.
    Run the gsql -? command in the cmd window. Ensure that the information is displayed properly.
For more tips, see the product documentation.
