View Single Post
Old 22nd September 2008, 10:43
blesbok blesbok is offline
Junior Member
Join Date: Mar 2008
Posts: 11
Thanks: 3
Thanked 3 Times in 2 Posts
Question drupal, phpmyadmin and localhost: drupal installation

had phpmyadmin installed on my fedora8 box in /var/www/html. (lamp and ispconfig are set up too) when installing drupal, i was prompted about overwriting phpmyadmin files in this directory (files had identical names), i knew proceeding would mess things up.

consequently, i moved the contents of folder html to another in the same directory, html3. although impractical, either drupal or phpmyadmin can be run by editing DocumentRoot in apache: (in /etc/httpd/conf/httpd.conf)

DocumentRoot "/var/www/html3" and changing this line.

drupal is not yet fully installed as the step of creating the database is fraught with problems. what should the hostname be? (no remote hosting is intended) have had no success doing this from the command line and phpmyadmin is even less usable. on command line it goes like this:

[root@billsrange ~]# mysqladmin -u admin -p create db_d
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'admin'@'localhost' (using password: YES)'

something similar happens on the drupal installation after giving database details of a database which looked alright (i'd seen it in phpmyadmin with 43 tables) http://localhost/install.php?profile=default&locale=en, the database configuration screen gives this result:

Failed to connect to your MySQL database server. MySQL reports the following message: Access denied for user 'admin'@'localhost' (using password: YES).

please chuckle or laugh at this newby (i'll bear with some sneering too) and then tell me how to have htpd accept both drupal and phpmyadmin's existence and how i can continue with my drupal installation.
Reply With Quote
Sponsored Links