 |
|
 |
|
Next: How to open standby database for read/write?
|
| Author |
Message |
External

Since: Jul 20, 2011 Posts: 2
|
(Msg. 1) Posted: Wed Jul 20, 2011 3:38 pm
Post subject: Document MySQL Tables Archived from groups: comp>databases>mysql (more info?)
|
|
|
I googled and found a number of tools that claim to document MySQL
schema, both at the column level and the table level.
If you have found any that worked well for you please let me know.
Thanks,
Joe >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
External

Since: Apr 26, 2010 Posts: 22
|
(Msg. 2) Posted: Fri Jul 22, 2011 3:25 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jul 20, 2011 Posts: 2
|
(Msg. 3) Posted: Sat Jul 23, 2011 10:12 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 07/22/2011 01:33 AM, Lennart Jonsson wrote:
> On 2011-07-20 22:38, Joseph Hesse wrote:
>> I googled and found a number of tools that claim to document MySQL
>> schema, both at the column level and the table level.
>>
>> If you have found any that worked well for you please let me know.
>>
>
> http://schemaspy.sourceforge.net/
>
>
> /Lennart
I didn't do a good job of explaining what I am looking for. I am using
MySQL Workbench and it does an excellent job of creating a graphical
representation of all the tables and their columns in a DB. What I
would like is next to a picture of a table a place to put comments, both
for my memory and for explaining it to a client. On my wishlist I would
like everything in the graphical representation to be a link to more
details. >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2011 Posts: 1
|
(Msg. 4) Posted: Sat Jul 23, 2011 11:53 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 7/20/2011 1:38 PM, Joseph Hesse wrote:
> I googled and found a number of tools that claim to document MySQL
> schema, both at the column level and the table level.
>
> If you have found any that worked well for you please let me know.
DESCRIBE tablename;
or, more usefully,
SHOW CREATE TABLE tablename; >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
External

Since: Apr 26, 2010 Posts: 22
|
(Msg. 5) Posted: Sat Jul 23, 2011 4:25 pm
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 2011-07-23 17:12, Joseph Hesse wrote:
[...]
> I didn't do a good job of explaining what I am looking for. I am using
> MySQL Workbench and it does an excellent job of creating a graphical
> representation of all the tables and their columns in a DB. What I
> would like is next to a picture of a table a place to put comments, both
> for my memory and for explaining it to a client. On my wishlist I would
> like everything in the graphical representation to be a link to more
> details.
Have you tried adding comments to your tables/columns?
/Lennart >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
|
Thomas 'PointedEars' Lahn
|
External

Since: May 13, 2010 Posts: 25
|
(Msg. 6) Posted: Sat Jul 23, 2011 5:25 pm
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Joseph Hesse wrote:
> On 07/22/2011 01:33 AM, Lennart Jonsson wrote:
>> On 2011-07-20 22:38, Joseph Hesse wrote:
>>> I googled and found a number of tools that claim to document MySQL
>>> schema, both at the column level and the table level.
>>>
>>> If you have found any that worked well for you please let me know.
>> http://schemaspy.sourceforge.net/
>
> I didn't do a good job of explaining what I am looking for.
Indeed. MySQL Workbench was among the things that I would have recommended
to you.
> I am using MySQL Workbench and it does an excellent job of creating a
> graphical representation of all the tables and their columns in a DB.
> What I would like is next to a picture of a table a place to put comments,
> both for my memory and for explaining it to a client. On my wishlist I
> would like everything in the graphical representation to be a link to more
> details.
A good database is self-documenting
Seriously, I have never had that problem. MySQL Workbench allows you to put
tables on a named layer, and that, in addition to reasonably named tables
and columns sufficed for me to date. See for example
<http://PointedEars.de/tmp/rdm.png> (from an ontology editor project).
However, the recent versions MySQL Workbench (e. g., 5.2.29) also allow you
to put arbitrary text and images in your EER diagram, and you can add
comments to schemata, tables, and columns both with MySQL workbench and
phpMyAdmin, which is pretty much a standard tool by now (and since version
2.10 has a graphical editor per the "Designer" tab as well).
So I don't see the problem. (Besides, never has a client asked me for an
EER diagram of the database of the application I was developing. They just
wanted it to work.)
--
PointedEars
Bitte keine Kopien per E-Mail. / Please do not Cc: me. >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
|
Thomas 'PointedEars' Lahn
|
External

Since: May 13, 2010 Posts: 25
|
(Msg. 7) Posted: Sun Jul 24, 2011 4:25 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Thomas 'PointedEars' Lahn wrote:
> However, the recent versions MySQL Workbench (e. g., 5.2.29) also allow
> you to put arbitrary text and images in your EER diagram, and you can add
> comments to schemata, tables, and columns both with MySQL workbench and
> phpMyAdmin, which is pretty much a standard tool by now (and since version
> 2.10 has a graphical editor per the "Designer" tab as well).
Supplemental: Adding comments to tables and columns is a built-in MySQL
feature (see the COMMENT keyword of the CREATE TABLE and ALTER TABLE
statements, apparently hard to find thanks to Oracle's borken indexing), but
adding comments to databases appears to be not. phpMyAdmin stores database
comments in fields of the column `phpmyadmin`.`pma_column_info`.`comment`.
--
PointedEars
Bitte keine Kopien per E-Mail. / Please do not Cc: me. >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
External

Since: Aug 11, 2004 Posts: 3779
|
(Msg. 8) Posted: Sun Jul 24, 2011 9:25 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 7/24/2011 3:31 AM, Thomas 'PointedEars' Lahn wrote:
> Thomas 'PointedEars' Lahn wrote:
>
>> However, the recent versions MySQL Workbench (e. g., 5.2.29) also allow
>> you to put arbitrary text and images in your EER diagram, and you can add
>> comments to schemata, tables, and columns both with MySQL workbench and
>> phpMyAdmin, which is pretty much a standard tool by now (and since version
>> 2.10 has a graphical editor per the "Designer" tab as well).
>
> Supplemental: Adding comments to tables and columns is a built-in MySQL
> feature (see the COMMENT keyword of the CREATE TABLE and ALTER TABLE
> statements, apparently hard to find thanks to Oracle's borken indexing), but
> adding comments to databases appears to be not. phpMyAdmin stores database
> comments in fields of the column `phpmyadmin`.`pma_column_info`.`comment`.
>
Comments on columns and tables has been part of the SQL standard for
over 20 years.
And who cares how PHPMyAdmin does it?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.DeleteThis@attglobal.net
================== >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
|
Thomas 'PointedEars' Lahn
|
External

Since: May 13, 2010 Posts: 25
|
(Msg. 9) Posted: Sun Jul 24, 2011 10:25 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Jerry Stuckle wrote:
> On 7/24/2011 3:31 AM, Thomas 'PointedEars' Lahn wrote:
>> Thomas 'PointedEars' Lahn wrote:
>>> However, the recent versions MySQL Workbench (e. g., 5.2.29) also allow
>>> you to put arbitrary text and images in your EER diagram, and you can
>>> add comments to schemata, tables, and columns both with MySQL workbench
>>> and phpMyAdmin, which is pretty much a standard tool by now (and since
>>> version 2.10 has a graphical editor per the "Designer" tab as well).
>>
>> Supplemental: Adding comments to tables and columns is a built-in MySQL
>> feature (see the COMMENT keyword of the CREATE TABLE and ALTER TABLE
>> statements, apparently hard to find thanks to Oracle's borken indexing),
>> but adding comments to databases appears to be not. phpMyAdmin stores
>> database comments in fields of the column
>> `phpmyadmin`.`pma_column_info`.`comment`.
>
> Comments on columns and tables has been part of the SQL standard for
> over 20 years.
Generally good to know, but who cares about "the SQL standard" (there are
several) when we are discussing MySQL? You really had nothing to say but
just wanted to post something, yes?
> And who cares how PHPMyAdmin does it?
The OP, who was wondering which of the claims were true. If only you
learned to read …
--
PointedEars
Bitte keine Kopien per E-Mail. / Please do not Cc: me. >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
External

Since: Aug 11, 2004 Posts: 3779
|
(Msg. 10) Posted: Sun Jul 24, 2011 10:25 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 7/24/2011 10:05 AM, Thomas 'PointedEars' Lahn wrote:
> Jerry Stuckle wrote:
>
>> On 7/24/2011 3:31 AM, Thomas 'PointedEars' Lahn wrote:
>>> Thomas 'PointedEars' Lahn wrote:
>>>> However, the recent versions MySQL Workbench (e. g., 5.2.29) also allow
>>>> you to put arbitrary text and images in your EER diagram, and you can
>>>> add comments to schemata, tables, and columns both with MySQL workbench
>>>> and phpMyAdmin, which is pretty much a standard tool by now (and since
>>>> version 2.10 has a graphical editor per the "Designer" tab as well).
>>>
>>> Supplemental: Adding comments to tables and columns is a built-in MySQL
>>> feature (see the COMMENT keyword of the CREATE TABLE and ALTER TABLE
>>> statements, apparently hard to find thanks to Oracle's borken indexing),
>>> but adding comments to databases appears to be not. phpMyAdmin stores
>>> database comments in fields of the column
>>> `phpmyadmin`.`pma_column_info`.`comment`.
>>
>> Comments on columns and tables has been part of the SQL standard for
>> over 20 years.
>
> Generally good to know, but who cares about "the SQL standard" (there are
> several) when we are discussing MySQL? You really had nothing to say but
> just wanted to post something, yes?
>
Shows how little you know. There is only one SQL standard - the latest
one passed by the ANSI committee. But then you don't understand that.
>> And who cares how PHPMyAdmin does it?
>
> The OP, who was wondering which of the claims were true. If only you
> learned to read …
>
I know how to read. Too bad you don't know how to understand.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex RemoveThis @attglobal.net
================== >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
|
Thomas 'PointedEars' Lahn
|
External

Since: May 13, 2010 Posts: 25
|
(Msg. 11) Posted: Sun Jul 24, 2011 11:25 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Jerry Stuckle wrote:
> On 7/24/2011 10:05 AM, Thomas 'PointedEars' Lahn wrote:
>> Jerry Stuckle wrote:
>>> On 7/24/2011 3:31 AM, Thomas 'PointedEars' Lahn wrote:
>>>> Thomas 'PointedEars' Lahn wrote:
>>>>> However, the recent versions MySQL Workbench (e. g., 5.2.29) also
>>>>> allow you to put arbitrary text and images in your EER diagram, and
>>>>> you can add comments to schemata, tables, and columns both with MySQL
>>>>> workbench and phpMyAdmin, which is pretty much a standard tool by now
>>>>> (and since version 2.10 has a graphical editor per the "Designer" tab
>>>>> as well).
>>>> Supplemental: Adding comments to tables and columns is a built-in MySQL
>>>> feature (see the COMMENT keyword of the CREATE TABLE and ALTER TABLE
>>>> statements, apparently hard to find thanks to Oracle's borken
>>>> indexing),
>>>> but adding comments to databases appears to be not. phpMyAdmin stores
>>>> database comments in fields of the column
>>>> `phpmyadmin`.`pma_column_info`.`comment`.
>>> Comments on columns and tables has been part of the SQL standard for
>>> over 20 years.
>> Generally good to know, but who cares about "the SQL standard" (there are
>> several) when we are discussing MySQL? You really had nothing to say but
>> just wanted to post something, yes?
>
> Shows how little you know. There is only one SQL standard - the latest
> one passed by the ANSI committee.
No, there are several revisions of the SQL standard (the latest being
adopted in 2008 eventually by ISO, for the American National Standards
Institute does not set the standards which are to be used internationally),
which, as they have been implemented before the next revision was adopted,
can be considered different standards of themselves (that applies to
revisions/editions of other standards as well).
And MySQL does not implement that standard, but the MySQL people state that
"One of our main goals with the product is to continue to work toward
compliance with the SQL standard, but without sacrificing speed or
reliability."
<http://dev.mysql.com/doc/refman/5.6/en/compatibility.html> pp.
So much for how little *you* know.
> But then you don't understand that.
ISTM that you do not understand standardization.
>>> And who cares how PHPMyAdmin does it?
>>
>> The OP, who was wondering which of the claims were true. If only you
>> learned to read …
>
> I know how to read.
How come that you did not read the OP's "question", then?
| I googled and found a number of tools that claim to document MySQL
| schema, both at the column level and the table level.
|
| If you have found any that worked well for you please let me know.
So I found that phpMyAdmin was among the tools that worked for me in that
respect. Being a polite person, I also explained why and how it worked.
Only a wannabe/troll like you can find something wrong with that.
--
PointedEars
Bitte keine Kopien per E-Mail. / Please do not Cc: me. >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
External

Since: Aug 11, 2004 Posts: 3779
|
(Msg. 12) Posted: Sun Jul 24, 2011 11:25 am
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 7/24/2011 10:41 AM, Thomas 'PointedEars' Lahn wrote:
> Jerry Stuckle wrote:
>
>> On 7/24/2011 10:05 AM, Thomas 'PointedEars' Lahn wrote:
>>> Jerry Stuckle wrote:
>>>> On 7/24/2011 3:31 AM, Thomas 'PointedEars' Lahn wrote:
>>>>> Thomas 'PointedEars' Lahn wrote:
>>>>>> However, the recent versions MySQL Workbench (e. g., 5.2.29) also
>>>>>> allow you to put arbitrary text and images in your EER diagram, and
>>>>>> you can add comments to schemata, tables, and columns both with MySQL
>>>>>> workbench and phpMyAdmin, which is pretty much a standard tool by now
>>>>>> (and since version 2.10 has a graphical editor per the "Designer" tab
>>>>>> as well).
>>>>> Supplemental: Adding comments to tables and columns is a built-in MySQL
>>>>> feature (see the COMMENT keyword of the CREATE TABLE and ALTER TABLE
>>>>> statements, apparently hard to find thanks to Oracle's borken
>>>>> indexing),
>>>>> but adding comments to databases appears to be not. phpMyAdmin stores
>>>>> database comments in fields of the column
>>>>> `phpmyadmin`.`pma_column_info`.`comment`.
>>>> Comments on columns and tables has been part of the SQL standard for
>>>> over 20 years.
>>> Generally good to know, but who cares about "the SQL standard" (there are
>>> several) when we are discussing MySQL? You really had nothing to say but
>>> just wanted to post something, yes?
>>
>> Shows how little you know. There is only one SQL standard - the latest
>> one passed by the ANSI committee.
>
> No, there are several revisions of the SQL standard (the latest being
> adopted in 2008 eventually by ISO, for the American National Standards
> Institute does not set the standards which are to be used internationally),
> which, as they have been implemented before the next revision was adopted,
> can be considered different standards of themselves (that applies to
> revisions/editions of other standards as well).
>
Yes, and as I said, it is the latest standard which is accepted. And
ANSI is recognized internationally - by almost everyone except "pointed
head", anyway. And this goes not only for the IT world, but in many
other areas, also - such as the construction trade.
> And MySQL does not implement that standard, but the MySQL people state that
> "One of our main goals with the product is to continue to work toward
> compliance with the SQL standard, but without sacrificing speed or
> reliability."
>
> <http://dev.mysql.com/doc/refman/5.6/en/compatibility.html> pp.
>
> So much for how little *you* know.
>
Sure, that's a big part as to why MySQL is considered a "toy database"
by experienced DB Admins. But you've never worked with any, so you know
nothing about it.
>> But then you don't understand that.
>
> ISTM that you do not understand standardization.
>
I understand INTERNATIONALLY AGREED UPON standardization. I do not
agree with "POINTED HEAD STANDARDIZATION".
>>>> And who cares how PHPMyAdmin does it?
>>>
>>> The OP, who was wondering which of the claims were true. If only you
>>> learned to read …
>>
>> I know how to read.
>
> How come that you did not read the OP's "question", then?
>
I did. How come you did not understand the op's question then? Oh, I
forgot - I'm "talking" to "pointed head" - who understands little but
always claims it's someone else's problem. Sounds a lot like what's
gone on in comp.lang.javascript and other newsgroups you've been in
also, right?
> | I googled and found a number of tools that claim to document MySQL
> | schema, both at the column level and the table level.
> |
> | If you have found any that worked well for you please let me know.
>
> So I found that phpMyAdmin was among the tools that worked for me in that
> respect. Being a polite person, I also explained why and how it worked.
> Only a wannabe/troll like you can find something wrong with that.
>
Being a total idiot you copied and pasted other peoples comments without
understanding the real question or an appropriate response.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.RemoveThis@attglobal.net
================== >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
External

Since: May 05, 2004 Posts: 80
|
(Msg. 13) Posted: Sun Jul 24, 2011 12:44 pm
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 24 Jul 2011 16:05:29 +0200, Thomas 'PointedEars' Lahn wrote:
> Jerry Stuckle wrote:
>
>> On 7/24/2011 3:31 AM, Thomas 'PointedEars' Lahn wrote:
>>> Supplemental: Adding comments to tables and columns is a built-in MySQL
>>> feature (see the COMMENT keyword of the CREATE TABLE and ALTER TABLE
>>> statements, apparently hard to find thanks to Oracle's borken indexing),
>>> but adding comments to databases appears to be not. phpMyAdmin stores
>>> database comments in fields of the column
>>> `phpmyadmin`.`pma_column_info`.`comment`.
>>
>> Comments on columns and tables has been part of the SQL standard for
>> over 20 years.
>
> Generally good to know, but who cares about "the SQL standard" (there are
> several) when we are discussing MySQL? You really had nothing to say but
> just wanted to post something, yes?
If it's in the standard, it's to be expected to be available, not a
feature. Most, if not all, SQL database engines should have this.
--
It is odd, but on the infrequent occasions when I have been called upon
in a formal place to play the bongo drums, the introducer never seems
to find it necessary to mention that I also do theoretical physics.
--Feynman >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
|
Thomas 'PointedEars' Lahn
|
External

Since: May 13, 2010 Posts: 25
|
(Msg. 14) Posted: Sun Jul 24, 2011 2:25 pm
Post subject: Re: Document MySQL Tables [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Peter H. Coffin wrote:
> On Sun, 24 Jul 2011 16:05:29 +0200, Thomas 'PointedEars' Lahn wrote:
>> Jerry Stuckle wrote:
>>> On 7/24/2011 3:31 AM, Thomas 'PointedEars' Lahn wrote:
>>>> Supplemental: Adding comments to tables and columns is a built-in MySQL
>>>> feature (see the COMMENT keyword of the CREATE TABLE and ALTER TABLE
>>>> statements, apparently hard to find thanks to Oracle's borken
>>>> indexing),
>>>> but adding comments to databases appears to be not. phpMyAdmin stores
>>>> database comments in fields of the column
>>>> `phpmyadmin`.`pma_column_info`.`comment`.
>>> Comments on columns and tables has been part of the SQL standard for
>>> over 20 years.
>> Generally good to know, but who cares about "the SQL standard" (there are
>> several) when we are discussing MySQL? You really had nothing to say but
>> just wanted to post something, yes?
>
> If it's in the standard, it's to be expected to be available, not a
> feature. Most, if not all, SQL database engines should have this.
MySQL itself proves this argument to be fallacious.
--
PointedEars
Bitte keine Kopien per E-Mail. / Please do not Cc: me. >> Stay informed about: Document MySQL Tables |
|
| Back to top |
|
 |  |
| Related Topics: | Tuning Mysql 4.1.10 - I have a freebsd box with 1 gig of memory for mysql/php, I was wondering what my my.cnf should look like, I am doing alot of searches and writes on ISAM tables, I currently have the following: [client] port=3306 socket=/tmp/mysql.sock [mysqld]..
Mysql InnoDB PHP - i have a strange problem : MySQL 4.0.21 innodb and php 4.3.9-1 all tables are in innodb type. For a simple select statement, sometimes i get result and sometimes nothing (i.e mysql_num_rows()>0 or mysql_num_rows()==0). It's a random behaviour. If my....
Installation and config of MYSQL - Hi, Need help. Installed Mysql in Redhat 9.0 workstation. I have installed MYSQL,Appache,PHP. PHP,Appache installation is fine and intergration is also working fine. I have installed and configured MYSQL Problem : I cannot log into MYSQL database either...
MySQL, MyODBC and ACCESS 2003 - Ok I have an interesting problem. I have written a database in Access to connect to our web shop and update prices etc from a supplier feed. It works almost perfectly! The prices are doubles, I am using ADO in access to connect via myodbc (with options....
com.mysql.jdbc.MysqlDataTruncation: - I just upgraded to MySQL to 4.1.9 and JDBC mysql-connector-java-3.1.6-bin.jar and now getting the following Exception: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column 'usaCard' at row 1 What causes this exception? I've... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|