phpmyadmin help needed

This is a discussion on "phpmyadmin help needed" within the PHP Forum section. This forum, and the thread "phpmyadmin help needed are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Nov 3rd, 2004, 01:14
New Member
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
phpmyadmin help needed

first of all id like to say that this is my first time as a registered member here. so hello to everyone, and thank you in advance for any advice that you might give me.
ok having said that, heres the problem i have.

no matter what i try im not able to grant user privleges in phpmyadmin..ive tried everything(at least i think i have)and to no avail. the only thing im allowed to do in my database is INSERT and SELECT. this is not good as i need to alter tables that i have made and its crucial to the functionality of my website.
does anyone have any advice?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Nov 4th, 2004, 08:48
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I've used phpmyadmin before, but I've never used it with user priveledges.

After having a quick look through the documentation is seems that there are a few things that you need to do:
<blockquote id="quote" class="ffs">quote:<hr height="1" noshade="noshade" id="quote" />NOTE: phpMyAdmin does not apply any special security methods to the MySQL database server. It is still the system administrator's job to grant permissions on the MySQL databases properly. phpMyAdmin's "Privileges" page can be used for this.<hr height="1" noshade="noshade" id="quote" /></blockquote id="quote">
I would see the section in the docs entitled: Using authentication modes
<blockquote id="quote" class="ffs">quote:<hr height="1" noshade="noshade" id="quote" />Then each of the true users should be granted a set of privileges on a set of particular databases. Normally you shouldn't give global privileges to an ordinary user, unless you understand the impact of those privileges (for example, you are creating a superuser).
For example, to grant the user real_user with all privileges on the database user_base:
GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';
What the user may now do is controlled entirely by the MySQL user management system.
With HTTP or cookie authentication mode, you don't need to fill the user/password fields inside the $cfg['Servers'] array.<hr height="1" noshade="noshade" id="quote" /></blockquote id="quote">
<blockquote id="quote" class="ffs">quote:<hr height="1" noshade="noshade" id="quote" />[4.5] Is it possible to let users create their own databases?

Starting with 2.2.5, in the user management page, you can enter a wildcard database name for a user (for example "joe%"), and put the privileges you want. For example, adding SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER would let a user create/manage his/her database(s).<hr height="1" noshade="noshade" id="quote" /></blockquote id="quote">
That's about all I can find.

Without knowing your specific configuraton, the version of phpmyadmin you are using and your hosting environment, there is little specific advice I can give you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
phpmyadmin, help, needed

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
phpMyAdmin geyids Databases 8 Aug 11th, 2007 07:03
My SQL/PHP - phpmyadmin mikes Databases 11 Jun 15th, 2006 14:44
no databases in phpmyadmin Drgreenfingers Databases 1 Feb 4th, 2006 21:21
phpmyadmin ktsirig PHP Forum 1 Sep 30th, 2005 10:06
phpMyAdmin installation Audioz Databases 3 Mar 4th, 2005 15:19


All times are GMT. The time now is 15:36.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42