Jump to content

help with setting up MySQL


gtludwig

Recommended Posts

Hello all,

I'm a newbie here so, please, have a little patience with me! :D

I'm setting up a LAMP server at work. The L is Ubuntu 6.06, the A is Apache2, M is MySQL and P is PHP5. All is working but MySQL. Each time I try to set up MySQL I get this:

[code]root@rx160:~!# mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
root@rx160:~#[/code]

I'm running out of ideas as how to get my application running. The goal is to run as test NetOffice to manage my company's projects.

Thanks in advance!

Gustavo
Link to comment
Share on other sites

Ok, I've done that and it prompted me for a password. But the same error occurred again.

I don't think I have a root user registered in this installation of MySQL. How can I check that out?

I'm thinking of removing everything MySQL related and restarting from scratch. How can I make sure to remove everything and set it up again? Will only:
[code]# apt-get remove sql-server[/code]
do the trick? I've tried this already and after:
[code]# apt-get install sql-server[/code]
the same error keeps returning.

I really don't want to re-install Ubuntu, but if it's what it takes to run, so be it!

Thanks again!

Gustavo
Link to comment
Share on other sites

well by default mysql will install a defualt user, which is root with no password. I am not experienced with installing apps in linux so I cant help you there. If are using ubuntu prehaps have a read of [url=https://help.ubuntu.com/community/ApacheMySQLPHP]this guide[/url] over at help.ubuntu.org for installing Apache Mysql and PHP on Ubuntu
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.