One - One Code All

Blog Content

mac查找my.cnf

MySQL Linux-Mac   2018-10-18 17:33:46

1. 找到mysqld的路径

   which mysqld

2. /usr/local/bin/mysqld --verbose --help |grep -A 1 'Default options'

3. 下面就是my.cnf的路径



上一篇:MySQL事务锁等待超时 Lock wait timeout exceeded; try restarting transaction
下一篇:python MySQLdb连接mysql失败mysql_exceptions.OperationalError: 2002, Can not connect to local MySQL,socket

The minute you think of giving up, think of the reason why you held on so long.