[CentOS] restarting mysql databases

Anthony K akcentos at anroet.com
Tue Oct 7 08:07:37 UTC 2014


On 2014-10-07 06:01, Robert Moskowitz wrote:
> I am doing an install of a mysql system, and decided that I needed to
> change some things like host name.  So I have to go back to square one
> with the mysql setup, but can't find any instructions for this.  I
> TRIED:
> 
> mysql_install_db
> 
> And it did SOMETHING, but
> 
> mysqladmin -u root password 'mypass'
> 
> failed with:

Why not change hostname back to what it was previously, then change the 
hostname associated with the root user in the user database?

I'm thinking this is rather simple and I'm worried I'm overlooking 
something by suggesting this after having read the entire thread...

Cheers,
ak.






More information about the CentOS mailing list