Quantcast
Channel: Island of Lost Circuits » phpmyadmin
Viewing all articles
Browse latest Browse all 2

Setting Permissions in MySQL for Drupal Install

$
0
0

SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER

The magic permissions you need to use to make your Drupal installation work.

Here’s the Drupal page that gives the gritty details:

http://drupal.org/getting-started/6/install/create-database

Personally, I just use phpMyAdmin rather than all that command line mumbo jumbo. And I create a user with these permissions set globally rather than on an individual database. That way when I create databases for production, development, testing, sandbox, etc., I don’t have to go through this every time I set up a new database.

Steps for doing this with phpMyAdmin:

  1. Go to the home page: http://localhost/phpmyadmin/index.php
  2. Click the Privileges tab (there is no Users tab; counter-intuitive, no?)
  3. Click the “Add a New User” link
  4. Type in a user name
  5. Set host to localhost
  6. Type in a password twice
  7. Check the boxes labeled : SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER
  8. Click the Go button

That’s it! Your new user has all of those permissions on all current and future databases that you create.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images