PowerDesigner set table character set

PowerDesigner Version : 16.6.1.0

  1. Open the form and find it Physical Options, as shown below
    Insert picture description here

  2. The code on the left can be configured by yourself.

  • Find the installation directory \Resource Files\DBMS\mysql50.xdb, this directory is to configure MySQL.
    Insert picture description here

  • Open the file with an editor and add the following code, because our database uses it utf8mb4, so add the following code at the end:

charset = %s : list = UTF8 | GBK | GB2312 | utf8mb4, default = utf8mb4

Insert picture description here

  • Restart PowerDesigner to take effect.

3. After setting, you can also choose to apply to other tables.
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43298913/article/details/108662388