/usr/local/mysql/bin/mysql -P 3307 --protocol=tcp 无法连接mysql
错误信息:
ERROR 2004 (HY000): Can't create TCP/IP socket (97)
原因:没有做如下操作授予用户权限
grant all privileges on *.* to '**'@'localhost' identified by '**';
错误信息:
ERROR 2004 (HY000): Can't create TCP/IP socket (97)
原因:没有做如下操作授予用户权限
grant all privileges on *.* to '**'@'localhost' identified by '**';