Posts: 19
acidblue
Joined: 09 Nov 2010
#1
Just installed MySql and phpmyadmin along with drupal.
But I cannot access phpmyadmin or drupal I get a '404 not found' error page.
Tried localhost/phpMyAdmin localhost/drupal and localhost/drupal7

Whats going wrong??
Posts: 1,062
Dave
Joined: 20 Jan 2010
#2
do you also have apache or another webserver installed?

If so check to see if it is running as well as having the correct redirects.

If not then maybe one is needed. I am not sure if drupal is a stand alone product or not.
Posts: 19
acidblue
Joined: 09 Nov 2010
#3
Yes I have apache2 installed and I get the 'IT WORKS" page when I go to 'localhost'.

EDIT:
I did a reconfigure of phpmyadmin: dpkg-reconfigure -plow phpmyadmin
And that worked I can access the phpmyadmin login page now, but i still can't access the drupal page.
Im still working on that one.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#4
ok, now for php my admin you will need to find the root directory of phpmyadmin, this is probably in /usr/share/phpmyadmin. The phpmyadmin root directory is really dependant on how/where you installed phpmyadmin

anyway you will need to make a redirect in /etc/apache2/sites-enabled/000-default. It should look like
#Alias /url-addition"root directory"
Alias /phpmyadmin"/usr/share/phpmyadmin"

then restart apache by issuing the command
/etc/init.d/apache2 resart

this will make the option so that you can use the url
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://localhost/phpmyadmin"
linktext was:"http://localhost/phpmyadmin"
====================================
( this is my suggestion on setting it up )

The same effect can be achieved by moving the root directory for phpmyadmin to the root directory for the webserver.
Example:
#cp -r /root/dir /apache/web/root/dir
cp -r /usr/share/phpmyadmin /var/www/

I have tried phpmyadmin before, now I use webmin which is far more powerful IMHO. If the directories are not the same, could you give me information on how you installed phpmyadmin so that I can install it in a similar manner? As to drupal I have no idea really as I have never used it before.