LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2004, 10:03 AM   #1
Digital_Err0r
Member
 
Registered: Mar 2004
Posts: 80

Rep: Reputation: 15
phpmyadmin for each user


hey, i have multiple users hosted on my red hat 9 box... is ther anyway i can like give each user their own phpmyadmin, so they can only see their own db's.... but they would have to login to the phpmyadmin thru http://mywebaddress.com:99 ? and it would ask for their user / pass....????

thanks

digital
 
Old 04-13-2004, 06:31 PM   #2
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 253

Rep: Reputation: 32
I just recently set up phpMyAdmin on one of my hosting servers and that thing you'd like to set up is possible.

It's actually pretty simple because you need to set it within the config.inc.php file itself


open up config.inc.php file, and look for the following line:

Code:
...
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
...

All you need to do is change it to:


Code:
...
$cfg['Servers'][$i]['auth_type']     = 'http';    // Authentication method (config, http or cookie based)?
...

That's it, when you have people go to http://www.yourdomain.com/yourphpMyAdminfolder/
it should ask each visitor for the username/password of the MySQL database



Oh and it's always good to read the documentation of phpMyAdmin :P
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can not use phpmyadmin haola Debian 1 06-09-2005 11:42 PM
phpmyadmin help dickohead Programming 2 05-01-2005 04:29 AM
User [blank] not found.. phpmyadmin error? Transition Linux - Newbie 1 02-03-2004 06:35 PM
phpmyadmin seanlinux Linux - Software 1 12-06-2003 05:17 PM
phpmyadmin tinaa Linux - Software 0 11-03-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration