If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Adding user to multiple databases

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-26-10, 08:52
ayzola ayzola is offline
Registered User
 
Join Date: Nov 2010
Posts: 2
Adding user to multiple databases

Hi There,
I have just used a tool and instructions to create multiple databases for my Wordpress multisite. It was easy to do with the exception of one thing, adding a user for each database. I want the same user for each data base but don't want to have to go through and add the user to each individual database (256). Is there a way I can add one user to all the data bases.
My host is JustHost
I created the databases using MyPHP from my Cpanel.
To add a user to each db manually I go into MySql
Reply With Quote
  #2 (permalink)  
Old 11-26-10, 08:54
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
you have 256 identical databases? whoa!

you must've created them one by one, yes?

well, you'll have to add your user one by one, too
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 11-26-10, 09:37
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 623
According to release notes of release 5.5.7 (14 October 2010), LDAP authentication will be permitted. MySQL :: MySQL 5.5 Reference Manual :: D.1.2 Changes in MySQL 5.5.7 (14 October 2010)
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
  #4 (permalink)  
Old 11-26-10, 10:03
ayzola ayzola is offline
Registered User
 
Join Date: Nov 2010
Posts: 2
Quote:
Originally Posted by r937 View Post
you have 256 identical databases? whoa!

you must've created them one by one, yes?

well, you'll have to add your user one by one, too
No I didn't create them one by one. I used this info and tool
Multi-DB - Allows you to scale your standard Multisite install to allow for millions of blogs... also will vastly improve the performance of your site! - WPMU DEV

The idea is to let you have 16, 256 or 4096 databases so you can have millions of blogs such as edulblogs.

It doesn't set up the user and password for each db though

I'm looking at your link it-iss.com, thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On