Appropriate Database permission

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Appropriate Database permission
infinite_root
CZ Newbie
infinite_root has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 03, 2004
0.00 posts per day
Posts: 29
Points: 3,082
   
Hi,

I had a problem providing the appropriate permission in phpnuke mysql database. I cannot open phpnuke without using the "root" as database user. On the contrary using root as dbuser would open phpnuke without any problem.

Nonetheless, I understand this would really a security risk.

What would be the appropriate permission for the user after creating the database?

I made the following in setting the permission:

mysql> grant all privileges on nuke.* to sqluser@localhost identified by 'passwd';
mysql> \q

I also did this:

mysql> grant all on nuke.* to sqluser@localhost identified by 'passwd';
mysql> \q

And made the appropriate entries on the config.php file.

But, whenever I open phpnuke an error came out as follows:

"There seems to be a problem with the MySQL server, sorry for the inconvenience."

How can I fix the problem?

Hope you can help me.

Thanks and more power.



Back to top Reply with quote
#2   re: Appropriate Database permission
infinite_root
CZ Newbie
infinite_root has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 03, 2004
0.00 posts per day
Posts: 29
Points: 3,082
   
Any ideas regarding the previous post would be greatly valued.

Thanks.



Back to top Reply with quote
#3   re: Appropriate Database permission
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Did you reboot the server?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#4   Re: re: Appropriate Database permission
infinite_root
CZ Newbie
infinite_root has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 03, 2004
0.00 posts per day
Posts: 29
Points: 3,082
   


Originally posted by Telli @ Tue Aug 03, 2004 12:48 pm:

Did you reboot the server?


Hi Telli,

Thank you for your responce.

Yes, Ialready did that.

Currently my server are now running without any problem. And I've been using it for quite some time now. However, it is still connecting to mysql using root account--this is my worry at the moment.

Hope u can help me.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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
You cannot attach files in this forum
You cannot download files in this forum