Bug #83088 | cannot start mysqld with --skip-grant-tables option | ||
---|---|---|---|
Submitted: | 21 Sep 2016 22:16 | Modified: | 21 Sep 2016 22:49 |
Reporter: | Scott Classen | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.7.15 | OS: | CentOS (7.2.1511) |
Assigned to: | CPU Architecture: | Any |
[21 Sep 2016 22:16]
Scott Classen
[21 Sep 2016 22:40]
MySQL Verification Team
Thank you for the bug report. [root@tikal miguel]# lsb_release -d Description: CentOS Linux release 7.2.1511 (Core) [root@tikal miguel]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.15 MySQL Community Server (GPL) Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> exit Bye [root@tikal miguel]# systemctl stop mysqld [root@tikal miguel]# mysql -uroot -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@tikal miguel]# systemctl set-environment MYSQLD_OPTS="--skip-grant-tables" [root@tikal miguel]# systemctl start mysqld [root@tikal miguel]# mysql -uroot Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.15 MySQL Community Server (GPL) Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>
[21 Sep 2016 22:49]
Scott Classen
Well clearly it is working for you. On the surface it appears we are running the same mysql binary on the same OS, but something is not working for me. Any advice on how to further debug this issue would be greatly appreciated.