Jump to content
The Uniform Server Community
Carlos Garcés

Unable to connect to MySQL

Recommended Posts

Hi!

 

I'm using UniServer 3.5 with IIS in the same machine.

I changed the port to :8080 and web server works, but I can't acces to MySQL database (Access denied for user 'root'@'localhost' (using password: YES))

I'm using the standar instalation, only change the lisening port, same configuration in other maquines without IIS works ok.

 

Any idea?

 

Un saludo

Carlos Garcés

Share this post


Link to post
Share on other sites

If you are using the standard installation and not the Uniform Server one then you will need to go to the MySQL website: www.mysql.com

 

Or at least list what you did? Did you try password root?

Share this post


Link to post
Share on other sites

If you are using the standard installation and not the Uniform Server one then you will need to go to the MySQL website: www.mysql.com

 

Or at least list what you did? Did you try password root?

 

I use the standard installation, but any operation related with MySQL not work (like phpMyAdmin). The password is root, but not work. Only fails in the computer that have IIS, but Apache works OK using port 8080

 

I don't know what it's the problem...

 

Un saludo

Carlos Garcés

Share this post


Link to post
Share on other sites

The error message: (Access denied for user 'root'@'localhost' (using password: YES))

Seems to me is only part of the full error message displayed! Did it point to a file or was there an error number.

 

To be denied access means the MySQL server is running the default user is “root” and access was attempted by “root” (as seen in the error message) hence looks OK. This indicates the password is incorrect, open the file:

 

*\Uniform Server\udrive\home\admin\www\mysql_password and check the password is “root” (without the quotes).

 

If the password is correct, post the full error message.

All the best

Ric :)

Share this post


Link to post
Share on other sites

I'm using a standard installation of uniform server. I only change the port number to 8080 and Apache work OK.

I don't change the password and not is a type error, I try to access with phpmyadmin that have the password inside one file.

Share this post


Link to post
Share on other sites

That’s excellent news; normally a previously installed version of MySQL prevents the servers starting. However in this case looks as if your original MySQL started before UniServer this was being picked up by phpMyAdmin hence the connection and access denied.

 

All the best

Ric :)

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...