Is the MySQL server version on the server the same as on your local machine? 5.0.x is the latest production version. 5.1.x and higher are considered development versions, and ES2007 was not tested against them.
If it is 5.0.x on both, and the server is linux, but your local machine is windows, then the default startup variable lower_case_table_names may be different. Windows does not have case sensitive filenames, and the MySQL default is to set table names to lowercase.
Because we run our tests against all providers, our generated class names have to match. To accomplish this with MySQL, we aliased the necessary MySQL table names in MyGeneration user metadata, so they had the same Pascal-cased names as all our other vendor databases. It was not necessary to alias all table names. For example "customers" will automatically be correctly pascal-cased to "Customers" by EntitySpaces, but "employeeterritories" needed to be aliased to "EmployeeTerritories" to prevent EntitySpaces from generating "Employeeterritories".
http://community.entityspaces.net/forums/thread/3168.aspx
The thing is that the lower case table name issue would not generate that error, which is why I asked about server versions. Also, there are hundreds of configuration variables. It is possible that something else is different on the server. Are you sure the CREATE TABLE from the server is the same as on your local copy?
We have only tested against MyISAM and InnoDb. Our recommendation is for InnoDb for most tables to get foreign key and transaction support, and MyISAM only for those tables that require its features, such as full text indexing. We have not tested against commercial engines like MaxDB or clustering engines like NDB, if one of those is the default engine on the server.
Did you try generating that one table from the server? If you selected multiple tables in the Generated Master template, it is possible that PersonnelTypes generated correctly, and the error is actually for the next table in line.
We recommend sticking with MyGeneration 1.2.0.7 for MySQL, especially if you have hierarchical checked, or plan to use stored procedures.
http://community.entityspaces.net/forums/thread/11.aspx
David Neal Parsons
www.entityspaces.net