Skip to content

达梦dbname不生效 #1

@msicom

Description

@msicom

topthink/think-orm版本3.0.34

达梦指定dbname不生效,需要使用【库名.表名】才能正常查询,例:使用PDO执行的sql语句为SELECT * FROM xc.hw_users;

config中PREFIX需要配置为如下,DATABASE是否指定都不生效:

[DATABASE]
DATABASE =
PREFIX = xc.hw_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions