Drupal search requires the "CREATE TEMPORARY TABLES" MySQL privilege
Submitted by specialj on Wed, 2008-01-02 00:52.
Wanted to fix the site search today and found the problem was database permissions. To fix I just granted the necessary permissions. Of course, I could only do that because I have access to the root MySQL account. Other Drupal sites on shared web hosting accounts might have to come up with other solutions. I’ve listed a few of these below.
hacking the core search module
- Drupal Search without temporaty tables- Solution for godaddy hostings
- mysql and the CREATE TEMPORARY TABLE privilege
use a different search module
Use a VPS host instead of shared hosting
Obtain sufficient database rights
Here is the MySQL command necessary:
- GRANT CREATE TEMPORARY TABLES ON
mydatabase.* TO ‘myuser’@’%’;
And to verify:
- SHOW GRANTS FOR ‘myuser’;
Trackback URL for this post:
http://hightechsorcery.com/trackback/32




Recent comments
9 weeks 2 days ago
10 weeks 20 min ago
15 weeks 1 day ago
15 weeks 1 day ago
15 weeks 2 days ago
15 weeks 6 days ago
16 weeks 1 hour ago
16 weeks 5 days ago
16 weeks 5 days ago
16 weeks 5 days ago