Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7948623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:46:33+00:00 2026-06-04T01:46:33+00:00

I am implementing Highavailability in mysql with two nodes. I created an virtual ip

  • 0

I am implementing Highavailability in mysql with two nodes.
I created an virtual ip (192.168.1.175).
Now from third system I am trying to connect to mysql using command

 mysql -h 192.168.1.175 -u root -pserver02

I am getting error

ERROR 1045 (28000): Access denied for user 'root'@'192.168.1.44' (using password: YES) 

Now i searched for the problem and found that root does not have permission to login from ip 192.168.1.44 and from ip 175 and I will have to grant permission to ip 44 from ip 175.

Now when I login through ip 175( in the same system whose virtual ip is this) and give permission for ip 44 using command

grant all privileges on . to root@'%' identified by 'server02'

I am getting the error

ERROR 1045 (28000): Access denied for user 'root'@'192.168.1.175' (using password: YES) 

I have to test my fali over mechanism by loging from ip 44 to virtual ip 175.
Now how can i resolve this Accessed denied problem.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:46:34+00:00Added an answer on June 4, 2026 at 1:46 am

    I think you missed the step where you allow the user to connect.

    Try running

    ALTER USER 'root'@'%' IDENTIFIED BY 'mypass';
    

    or if that fails

    CREATE USER 'root'@'%' IDENTIFIED BY 'mypass';
    

    The crendtials are managed in a bit of a chaotic way in mysql, but it’s very, very flexible,

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Implementing Kings' Corners (glorified multiplayer Solitaire) in Java. I'm trying to allow a player
I implementing OLE DB provider for my custom database. It will be used from
While implementing the code from this question on my project I realized there's 3
Implementing a datastructure with two function pointers, key_eq and key_hash . When these function
Im implementing a reminder app.There are two reminders (one for everyday and other for
Im implementing a ZoomButtonsController in my custom View and have been trying to figure
Does implementing the Zend Framework require the existing MySQL database to be modified? If
Implementing the ScriptControlClass was extremely easy, unfortunately the side effects with the language implementation
implementing publishActivity in PHP using the REST API using this code: $activity = array(
Implementing a custom membership provider, there are certain properties such as MinRequiredPasswordLength that only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.