You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/my.cnf doesn't work if writeable, and we have ended up with it writeable.
Warning: World-writable config file '/home/.my.cnf' is ignored
To Reproduce
ddev ssh
mysql
Warning: World-writable config file '/home/.my.cnf' is ignored
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Expected behavior
Connect to the mysql db named 'db'
Actual behavior:
Warning: World-writable config file '/home/.my.cnf' is ignored
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
The workaround:
Use mysql -udb -pdb -h db db
or sudo chmod ugo-w ~/.my.cnf
The text was updated successfully, but these errors were encountered:
Describe the bug
/home/my.cnf doesn't work if writeable, and we have ended up with it writeable.
Warning: World-writable config file '/home/.my.cnf' is ignored
To Reproduce
Expected behavior
Connect to the mysql db named 'db'
Actual behavior:
The workaround:
Use
mysql -udb -pdb -h db db
or
sudo chmod ugo-w ~/.my.cnf
The text was updated successfully, but these errors were encountered: