Question about db user/password
Posted: 06 May 2008 12:46 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  55
Joined  05-06-2008

I’m thinking of using EE for a couple of sites that I’m working on and I have a question about how db username and password is handled… Currently I have a site using php and mysql where the username and password for db access is handled through the .htaccess file and there is a specific user for read access and a different user for updating information.  Is there a way to set up multiple database users in EE where a specific db user can be specified for read/write access?

Profile
 
 
Posted: 06 May 2008 12:50 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  30659
Joined  05-14-2004

Hi, precision, welcome to the forums!

Database access is handled through 4 lines in config.php - database name, address, database username and password.  That is the username that will be used for all reading and writing from/to the database.

 Signature 
Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 59683 Total Logged-in Users: 33
Total Topics: 71215 Total Anonymous Users: 19
Total Replies: 383824 Total Guests: 481
Total Posts: 455039    
Members ( View Memberlist )