FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Installation error in step 2: access denied when creating MySQL index
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  Installation error in step 2: access denied when creating MySQL index [message #23762] Mon, 28 March 2005 16:26 Go to next message
pozmu is currently offline  pozmu   Poland
Messages: 14
Registered: March 2005
Karma: 0
Junior Member
Hi
I'm trying to install Fudforum. At install step 2 I get error:

Failed to create table "fud_users" ("CREATE UNIQUE INDEX fudusers_i_l ON fudusers (login)"), SQL Reason: Access denied for user: 'pozmufud(at)10(dot)0(dot)2(dot)23' to database 'pozmufud'

This error is displayed in the "Database" row, just above the field where I enter DB name. MySQL version: 3.23.58-log. Fudforum version: I tried with FUDforum v2.6.12 and v2.6.12 Release Candidate #3.

I really don't know why such error occurs... What special privileges does "CREATE INDEX" require? I was not able to find anything about this in MySQL manual. I'm able to do:

ALTER TABLE fud26_users ADD UNIQUE INDEX fud26_users_i_l(login)

which, I believe, is the same command...
Re: Installation error in step 2: access denied when creating MySQL index [message #23765 is a reply to message #23762] Mon, 28 March 2005 16:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to have the "INDEX" permission that allows you to create & drop indexes.

FUDforum Core Developer
Re: Installation error in step 2: access denied when creating MySQL index [message #23769 is a reply to message #23762] Mon, 28 March 2005 16:47 Go to previous messageGo to next message
pozmu is currently offline  pozmu   Poland
Messages: 14
Registered: March 2005
Karma: 0
Junior Member
Thank you, but are you sure that this is the problem? I'm able to create and delete indexes using Alter Table command, so don't you think that this is some problem with Fudforum? I will ask my host about this permission, but I found in manual that Create Index isn't real command, it's only alias to Alter Table. I will post when I get reply from my host.
Re: Installation error in step 2: access denied when creating MySQL index [message #23771 is a reply to message #23769] Mon, 28 March 2005 17:05 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I am certain it is not a problem with the forum, since the query you've shown is perfectly valid and the error messages comes from MySQL and not the forum. So, that is where the problem lies.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: nntp.php and CPU utilization
Next Topic: Upgrade prevents administering
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 22 16:09:23 GMT 2024

Total time taken to generate the page: 0.04273 seconds