MySQL Databases not displayed; MySQL working fine

17 posts / 0 new
Last post
#1 Sat, 10/11/2008 - 07:44
Clay

MySQL Databases not displayed; MySQL working fine

A couple oddities with the MySQL webmin module and the Virtualmin mysql integration: The databases don't appear!

In the webmin module, the index page says

"No MySQL databases were found on your system."

If I go into the "Database permissions" section, it lists all of the databases.

If I go into Virtualmin, the MySQL setup passes the configuration checker, but it doesn't show any of the user's databases, even though they were created and I can view them via a tool like phpMyAdmin.

Any idea what could cause this?

Sat, 10/11/2008 - 10:50
andreychek

Howdy,

When you log into Virtualmin, you'll see a select list on the top-left containing all the domains in Virtualmin. If you choose one that has a database associated with it, you should get an "Edit Databases" link listed just a few lines under the select list (immediately under "Edit Mail Aliases").

Once you click that, do you see any databases listed there?
-Eric

Sat, 10/11/2008 - 10:53 (Reply to #2)
Clay

No. I see any postgres databases I have, but none of the mysql dbs.

Sat, 10/11/2008 - 11:46 (Reply to #3)
Clay

uhhhhhh not that I'm aware of?

Sat, 10/11/2008 - 11:52 (Reply to #4)
Joe
Joe's picture

Oh, wait. I see that you said, "If I go into the "Database permissions" section, it lists all of the databases." Which is giving me maybe a vague notion that the MySQL module isn't actually configured to login to MySQL as a "root" level user, or the database permissions aren't granting that user access to all of those databases (probably the latter, now that I think about it). The Webmin module only displays databases the user is allowed to work with. Is phpMyAdmin logging in as the same user as the MySQL module in Webmin?

So, I'm guessing something wrong in the permissions. But I dunno. I'm, by no means, a MySQL expert.

--

Check out the forum guidelines!

Sat, 10/11/2008 - 12:16 (Reply to #5)
Clay

i've been logging in as root

Sun, 10/12/2008 - 06:01 (Reply to #6)
Clay

To throw in another oddity, I can view the databases of a user if I log into usermin.

Sun, 10/12/2008 - 06:08 (Reply to #7)
andreychek

If you log into Virtualmin, then click Webmin -> Servers -> MySQL Database -> Module Config, what user shows up as the "Administration Login"? That should be "root".

You might also want to verify that the root MySQL password in Virtualmin is correct (though, if it weren't, I suspect you'd be seeing permission denied / incorrect password errors).
-Eric

Sun, 10/12/2008 - 06:12 (Reply to #8)
Clay

Yes, the user is root.

I can set the root mysql information in the webmin mysql module; where do I find it for Virtualmin (GPL) ?

Sun, 10/12/2008 - 10:35 (Reply to #9)
Joe
Joe's picture

<div class='quote'>I can set the root mysql information in the webmin mysql module; where do I find it for Virtualmin (GPL) ?</div>

It's all set in the Webmin MySQL module. There is no separate MySQL configuration for Virtualmin.

--

Check out the forum guidelines!

Sun, 10/12/2008 - 16:32 (Reply to #10)
Clay

I've set it there. My databases don't appear in the MySQL module either, even though I can edit databasee/user/host permissions and do assorted other things.

Sat, 10/11/2008 - 11:45
Joe
Joe's picture

You have more than one installation of MySQL, perhaps?

--

Check out the forum guidelines!

Thu, 12/18/2008 - 04:21
GrayBoo

i am experiencing the same as well. i did a reset of the mysql root password. the list of database went missing after tat.

it only appears when i invoke mysqld_safe with the skip grant table.

Thu, 12/18/2008 - 04:29 (Reply to #13)
andreychek

Alright, well, with two of you running into this, it's probably either a bug in the code, or a bug in the UI, so the report you filed is a good idea :-)

For anyone else running into this, there's a bug report here:

http://www.virtualmin.com/index.php?option=com_flyspray&amp;do=details&a...

Thanks,
-Eric

Thu, 09/27/2012 - 05:34 (Reply to #14)
Sean Whitton

I have just started experiencing this issue. The link to the bug report you provided doesn't work anymore and I can't find the issue in the tracker. Do you know where it has gone, or whether it was fixed?

Thu, 09/27/2012 - 08:59 (Reply to #15)
andreychek

Howdy,

Hmm, I don't seem to be able to find that bug report either anymore (the bug tracker had changed a few years back, which threw off the links), and I haven't heard of that issue again in the 4 years since it had been mentioned here :-)

Do you think you could open up a new forum thread, and describe some details about what you're seeing, and when it started occurring?

Thanks!

-Eric

Thu, 09/27/2012 - 12:19 (Reply to #16)
Sean Whitton

will do thanks

Topic locked