Results 1 to 5 of 5
Hi all, We have a spare powerconnect server in work and i was looking to set it up as a web server for a company intranet - more to gain ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-21-2008 #1
- Join Date
- Mar 2008
Linux web server configuration issue
We have a spare powerconnect server in work and i was looking to set it up as a web server for a company intranet - more to gain experience in configuring a web server than anything else.
I decided to go with Fedora 8 as i'd used fedora previously and followed the LAMP tutorial on HowToForge.
However i've come across a problem which i just can't seem to resolve (after pretty intensive searching). So, i guess this post is in 2 parts.
Firstly, the error i'm getting is with mysql only. The error message is:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
I understand this may be a generic error but i'm not sure what other information would be useful.
Secondly, as this is my first web server - have I made the correct choice in terms of linix release or would something like CentOS be more suitable? I'd like to get this right from the start now that i have the chance.
Thanks in advance!
- 03-21-2008 #2
I personally would have gone for CentOS if this is an important server. Fedora is a fast paced distro and the life span of a release is shorter than CentOS/RHEL (meaning that in about a year Fedora 8 may not be supported anymore).
As for the mysql issue, can you try
mysql -u root mysql
mysql -u root -p mysql
- 03-21-2008 #3
or if you don't know anything about mysql (like me) then use phpmyadmin. phpmyadmin is a web front end for mysql. if you have apache+php working already then just drop the phpmyadmin folder inside your doc root
phpMyAdmin | MySQL Database Administration Tool | www.phpmyadmin.net
and mysql generally installs with a blank root password.
- 03-25-2008 #4
I installed Webadmin on my Ubuntu 7.04 server. With that I can admin the whole server, including MySQL.
- 03-29-2008 #5
- Join Date
- Mar 2008
mysql comes set up with a fully priveledged user (2 of them) with no password. You need to delete the test database and add passwords as per mysql docs.
this is one of the security issues with some programs. This is a high risk issue, read the mysql manual to deal with it right away.