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

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:  30059
Joined  2004-05-14

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: 58058 Total Logged-in Users: 37
Total Topics: 68026 Total Anonymous Users: 29
Total Replies: 366416 Total Guests: 472
Total Posts: 434442    
Members ( View Memberlist )