Quantcast
Channel: Linux.org.ru: Форум (тех. форум)
Viewing all articles
Browse latest Browse all 73859

Не могу сбросить MySQL root password

$
0
0

Добрый день.

Centos7.2 + MySQL.

# service iptables stop
Redirecting to /bin/systemctl stop  iptables.service

# service iptables status
Redirecting to /bin/systemctl status  iptables.service
● iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Tue 2016-04-12 10:14:09 MSK; 5s ago
  Process: 27578 ExecStop=/usr/libexec/iptables/iptables.init stop (code=exited, status=0/SUCCESS)
  Process: 742 ExecStart=/usr/libexec/iptables/iptables.init start (code=exited, status=0/SUCCESS)
 Main PID: 742 (code=exited, status=0/SUCCESS)

Apr 12 10:14:09 dc systemd[1]: Stopping IPv4 firewall with iptables...
Apr 12 10:14:09 dc iptables.init[27578]: iptables: Setting chains to policy ACCEPT: filter [  OK  ]
Apr 12 10:14:09 dc iptables.init[27578]: iptables: Flushing firewall rules: [  OK  ]
Apr 12 10:14:09 dc iptables.init[27578]: iptables: Unloading modules: [  OK  ]
Apr 12 10:14:09 dc systemd[1]: Stopped IPv4 firewall with iptables.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

# mysqladmin -u root password mysqlwelcome22
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!

И тут я подвис... Как дальше быть? ))

 ,


Viewing all articles
Browse latest Browse all 73859

Trending Articles