I’m trying to export my database tables to LaTeX in PHPMyAdmin. It does generate a “comments” column, but nothing is put in there eventhough I do have comments for several fields of the table I’m trying to export. (and of course I do have the “comments”-checkbox checked). Does anybody know a solution to this, or is this simply a bug in (this version of) PHPMyAdmin?
I’m using MySQL 5.5.9 with PHPMyAdmin version 3.3.9.2.
I decided to solve the problem by myself by writing the following PHP-script. It makes LaTeX-tables from all MySQL tables in the database, with a Field column for the row name, and a Description column for the comments. The code does not contain the MySQL connection logic. It can be a nice addition in your documentation to the graphical schemes that can be made with MySQLWorkbench. For good displaying in a web browser, use
nl2br().I hope it’s useful to someone.