Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple Mysql DB's
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hellzone
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 167

PostPosted: Sun Jun 08, 2003 7:23 pm    Post subject: Multiple Mysql DB's Reply with quote

Is there anyway i can set up multiple Mysql DB's without re running the whole server time and time again to allow my users to be able to set their own permissions, have their own DB users etc..?
Back to top
View user's profile Send private message
vericgar
Retired Dev
Retired Dev


Joined: 13 Dec 2002
Posts: 79
Location: Spokane, WA

PostPosted: Sun Jun 08, 2003 9:07 pm    Post subject: Reply with quote

It doesn't look there is a way to do that... I've just gone through a lot of the manual and did some googling. Though I did come up with this, from the mysql mailing list, dated November 2002:

http://www.geocrawler.com/archives/3/8/2002/11/0/10266599/

In summary, each mysqld doesn't take up that much memory when it's idle, and when it's not, the difference between having 40 connections to 40 different mysqld isn't much from having 40 connections to the same mysqld. Either your box can handle it or not. The easiest way is to setup the seperate mysqld's instead of having to figure out how to restrict each user so that they only have access to thier data.

Be sure to let us know if you find a way to do virtual mysql hosting though, I'd be interested to see how it's done.
_________________
+~+ Sometimes a good ole loving kick is all it needs +~+
Back to top
View user's profile Send private message
metalac
Apprentice
Apprentice


Joined: 21 Aug 2002
Posts: 191
Location: Seattle, USA

PostPosted: Mon Jun 09, 2003 2:32 am    Post subject: Reply with quote

why not run one mysqld and have multipble DB's in that one and have each DB have different permission. With tools like PHPMyAdmin you could have that running in no time. I run two different MySQL servers like that and everything appears to work just fine.
_________________
>>>>> Ignorance is bliss <<<<<
Back to top
View user's profile Send private message
Hellzone
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 167

PostPosted: Mon Jun 09, 2003 5:14 am    Post subject: re: Reply with quote

Well i have tried that except the only problem being my users can't add users etc which will effect their own databases without being able to change privallages for other users.

This is kind of an annoyance even when they have a db dedicated just to them with full privallages to that db.

-James
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum