Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Movable Type 4.23: INDEX command denied
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Movable Type 4.23: INDEX command denied
Movable Type 4.23: INDEX command denied
27-01-2009 9:55 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi all,
I'm trying to set up the latest version of Movable Type on CCGI, but apparently I don't have permission to use the INDEX command in MySQL. I'm not too au fait with the workings of MySQL, would having this command enabled be a security risk? If not, could we get it enabled? Or does anyone have a workaround at all?
For reference, the full list of commands MT needs is apparently:
grant
lock tables
drop
create temporary tables
update
create
alter
index
select
references
insert
delete
I'm trying to set up the latest version of Movable Type on CCGI, but apparently I don't have permission to use the INDEX command in MySQL. I'm not too au fait with the workings of MySQL, would having this command enabled be a security risk? If not, could we get it enabled? Or does anyone have a workaround at all?
For reference, the full list of commands MT needs is apparently:
grant
lock tables
drop
create temporary tables
update
create
alter
index
select
references
insert
delete
Message 1 of 2
(845 Views)
1 REPLY 1
Re: Movable Type 4.23: INDEX command denied
09-02-2009 8:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I had an issue installing Movable Type too. During the process, I got [tt]access denied for CREATE INDEX[/tt] errors. I managed to create some of these indexes using phpMyAdmin and the MT error messages, but this was taking too long so I altered the source code instead.
I modified the file mt/lib/MT/ObjectDriver/DDL.pm on line 300 where I changed the following:
to this:
and then began the installation afresh. It worked like a charm.
I modified the file mt/lib/MT/ObjectDriver/DDL.pm on line 300 where I changed the following:
push @stmts, "CREATE INDEX ${table_name}_$name ON $table_name (${field_prefix}_$name)";
to this:
push @stmts, "ALTER TABLE $table_name ADD INDEX ${table_name}_$name (${field_prefix}_$name)";
and then began the installation afresh. It worked like a charm.
Message 2 of 2
(274 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Movable Type 4.23: INDEX command denied