Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Creating mysql database for Drupal

0

54 views

Hello,

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

asked March 18, 2011 5:04 am CDT
posted via SuperUser

2 Answers

1
Best answer
 

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

answered March 24, 2011 9:43 pm CDT
0
 

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. )

answered March 24, 2011 9:43 pm CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions