1

I'm trying to create Mysql database for Drupal according to these instructions
" First, you must create a new database for your Drupal site (here, 'databasename' is the name of the new database):

mysqladmin -u username -p create databasename

"
I'm using Ubuntu.

After the command

$ mysqladmin -u xralf -p create ralfdb

it wrote this error

mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'xralf'@'localhost' (using password: YES)'

Could you help me with this problem?

thank you

2 Answers 2

2

The username needs to be for a username that has the right to create a new database i believe - for a fresh install - most likely root

this should walk you through it

0
-1

Alternatively, you can just use Bitnami Drupal Stack, which installs mysql and all dependencies with a simple graphical wizzard.

Or you could install LAMPStack, which serves as a common infrastructure, then download the Drupal Stack module and install it (and any other apps you find there as modules, sharing the same LAMPStack as a base. )

1
  • Thank you for interesting alternatives, but I would like to continue with what I began.
    – xralf
    Commented Mar 18, 2011 at 11:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .