Jump to content
The Uniform Server Community

Unable to connect to MySQL


Carlos Garcés
 Share

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

Link to comment
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?

Link to comment
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

Link to comment
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 :)

Link to comment
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 :)

Link to comment
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...
 Share

×
×
  • Create New...