Yearly Archives: 2014


Mysql create database then create user. New user can’t login

When you try to login to mysql with a newly created user, you may get:   ERROR 1044 (42000): Access denied for user Try to ensure the user’s been granted sufficient privileges for the database.   For example, create databases db; create user ‘blah’@’localhost’ with password ‘password’; grant all privileges on db.* to ‘blah’@’%’;  <—–IMPORTANT. […]


mod_status results in 404 page not found in drupal

with default config, you get 404 when accessing http://localhost/server-status with mod_status enabled. Try adding:   RewriteCond %{REQUEST_URI} !=/server-status to .htaccess. i.e. only do the rewrite thing if request isn’t for server-status. so your .htaccess would look like this: # Pass all requests not referring directly to files in the filesystem to # index.php. Clean URLs […]