By skor on
I know I've seen it here in the forums somewhere, but can't seem to find it again. Can someone help me get a list of installed modules out of a 5.7 database?
Thanks.
I know I've seen it here in the forums somewhere, but can't seem to find it again. Can someone help me get a list of installed modules out of a 5.7 database?
Thanks.
Comments
=-=
I don't know which query you are talking about or where that may be, but you can export the system table ?
...
http://drupal.org/node/199755
Why SQL?
http://api.drupal.org/api/function/module_list/5
BTW - there is a SQL query in there if you really really need to have your own query.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
Thanks!
No specific reason for sql in particular, that's just what I remembered coming across, and I'm comfortable with the command line.
Basically, I'm just trying to resurrect an old site off an old database, and I don't remember what modules I had enabled back then.
So if I just fire up phpmyadmin, and browse to the system table, and then to the filename row, I can see all the modules that I need to restore to start getting the site back up & running.
Thanks.
Found it
here's what I was thinking of
so from an ssh command line, you can connect to the database with:
and then get a list of enabled modules with