Jump to content

Default root password??


wmolina

Recommended Posts

I recently (re)installed Red Hat 8.0 on a spare computer, and set it up during the install to include Apache, PHP and MySQL. Everything works fine, but there\'s one problem: MySQL gives me an error when I try to connect, presumably because I\'m not specifying a password (it does this even when I type mysql -u root). However, I never was able to SET a password. I tried typing the following to set one:

 

# mysqladmin -u root password [my password]

 

and it gives me the connection refused error. So.. is there a default password that for some reason I don\'t have? Is it included in a specific file so I can find out what it is? I would just uninstall it (funnily enough it says that the packages aren\'t installed, even though I know it is!) and compile it manually, but I don\'t know how to configure it so I can use it with PHP (using it on Linux is new to me.. I normally use PHP and MySQL with IIS on WinXP Pro).

 

Can anyone help out? Thanks in advance! :D

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.