View previous topic :: View next topic |
Author |
Message |
bunder Bodhisattva

Joined: 10 Apr 2004 Posts: 5947
|
Posted: Fri Feb 15, 2008 5:59 am Post subject: phpmyadmin and mysql users (logging in) [solved] |
|
|
got phpmyadmin installed and working, and i also created another db and user... using the mysql CLI, the user can access their db, but not via phpmyadmin... it won't even let them log in... i'm thinking it's some sort of permissions thing, any ideas?
thanks
edit: solved it, my own dumbass fault...
turns out that % as a hostmask doesn't include localhost. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
 |
trossachs Veteran


Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Tue Feb 19, 2008 12:36 pm Post subject: |
|
|
Bunder, that permissions should I enable (or disable) to ensure that each mysql user only has access to his/her databases when they log into phpmyadmin? |
|
Back to top |
|
 |
bunder Bodhisattva

Joined: 10 Apr 2004 Posts: 5947
|
Posted: Tue Feb 19, 2008 1:46 pm Post subject: |
|
|
lets see here...
all but grant on their database... they'll be able to see information_schema, but only things relevant to their user. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
 |
trossachs Veteran


Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Tue Feb 19, 2008 1:51 pm Post subject: |
|
|
This is what I thought originally. They can see information_schema, but not the two databases that I have granted them access to. |
|
Back to top |
|
 |
trossachs Veteran


Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Tue Feb 19, 2008 1:54 pm Post subject: |
|
|
Have not granted them anything within 'global privileges.' |
|
Back to top |
|
 |
bunder Bodhisattva

Joined: 10 Apr 2004 Posts: 5947
|
Posted: Tue Feb 19, 2008 1:58 pm Post subject: |
|
|
just usage.  _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
 |
trossachs Veteran


Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Tue Feb 19, 2008 2:04 pm Post subject: |
|
|
The only privilege he has is 'USAGE' he has not anything else.
What I am trying to do is to enable my users to each have access to their own databases. I want them to be able to create, drop and fully administer their OWN databases, but have nothing to do with anyone else.
Can this be done? |
|
Back to top |
|
 |
trossachs Veteran


Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Wed Feb 20, 2008 5:33 am Post subject: |
|
|
Sorted!
The original user was created within Mysql prior to the installation of phpMyAdmin, so I deleted the user and created it within Php, all OK now. Have logged on into the account and the only database showing is the one to which I have assigned permissions to. |
|
Back to top |
|
 |
|