MySQL show database right problem

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
kilgore
Forum User
Forum User
Posts: 53
Joined: Sat Dec 04, 2004 4:37 am

MySQL show database right problem

Unread post by kilgore »

Hello,

I'm getting a quite big problem with user right in MySQL. Some customers have installed their own phpMyAdmin on their account and when they login with one user/pass they created in Plesk, they can see all the databases on the MySQL server.

In the Plesk DB Admin there isn't any problem.

I suppose it's a user MySQL right problem but I don't know how to fix it.

Any help appreciated,

Kilgore
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

thats a "feature" of mysql, the PSA version gets around this by modifying phpmyadmin so you cant see the other db's
kilgore
Forum User
Forum User
Posts: 53
Joined: Sat Dec 04, 2004 4:37 am

Unread post by kilgore »

Ok so I don't want all users to see all database I need to unauthorize user to install their own phpMyAdmin :D.

The risk looks minor so...

Regards,

Kilgore
cauw
Forum User
Forum User
Posts: 31
Joined: Sun Mar 27, 2005 4:22 am
Location: Belgium

Unread post by cauw »

Is there no way to dissable this so they can not see the databases on the server except their own?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

you might want to check with the phpmyadmin, or mysql.com websites about that
cauw
Forum User
Forum User
Posts: 31
Joined: Sun Mar 27, 2005 4:22 am
Location: Belgium

Unread post by cauw »

i found a solution but after that i get the next problem, i used --skip-show-database option, but after that the phpmyadmin scripts installed by some users on their webspace gives them:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/dutchzone.be/subdomains/test/httpdocs/libraries/dbi/mysql.dbi.lib.php on line 118

Think i'm getting crazy about this :s

Hope somone has a solution...
Post Reply