MySQL Data Types

MySQL supports the ENUM and SET data types, which must be added to your Enterprise Architect model before you can use them as the types for columns.

Access:    Settings | Database Datatypes

How To:

To add the ENUM and SET data types for MySQL, follow the steps below:

Step

Action

See Also

1

Select the Database Datatypes menu option

The Database Datatypes dialog displays

 

2

In the Product Name field select MySQL

 

3

Add the data types ENUM and SET

 

When using these data types later in a Column's Initial field, type the values as a comma-separated list, in the format:

('one','two','three')

If one value is the default, use the format:

('one','two','three') default 'three'